Add rc to json/package.json.js, use .sailsrc in templates/app.js

Differing from `sails console` and `sails lift` app.js does not use the config found in .sailsrc. This pull request solves this by adding the rc module to the app dependencies and passing the config in .sailsrc to sails.lift() in app.js.