Adding a deprecation check to cover app.rb

This deprecation check looks for some old patterns that we used to use in app.rb and will raise a warning if finds them...so they don't bite us in the ass during a deploy again.

@bellycard/platform