Manually append assets path if Rails not available

Small changes to make it work fully with any Sprockets-based asset pipeline.  If Rails isn't available in the project, the paths need to be added to Sprockets manually.  I've got a Sinatra app with Sprockets, and with these changes it works perfectly!