Fix some routing issues

1. Apps on heroku with ensure_no_www redirect to herokuapp.com
2. No path, no redirect

I fixed the issues, and added some tests, plus a Guardfile.