bug fixes and path improvements

* made sure blog example works in sub directories
* $resolvePath actually resolves paths now
* $url created to do what $resolvePath used to do
* sandbox has caching disabled by default
* a few new helpers
* rewrite conditions are given relative path instead of full path