caroot
Replaces a caret with the root path (closest package.json)
Usage
caroot(caretedPath, currentPath[, rootSubDirectory])
var caroot = ; // assume we are 2 levels deeper than package.json ; // returns '../../foo' // also takes an optional root sub directory ; // returns '../foo'