define the asset_path helper

I added support for having asset_path be defined for use in templated assets.  Bootstrap 3 SASS requires it and this fixes the issue.

Also note that I modified `bin/connect-assets` to use `lib/assets.js` for compiling for consistency.