Removing discovery API

(If we want something like it, it should be generated, not hardcoded)
Removed logging
Converting app.js to app.coffee

Removing all mapping shizzle
Adding verification methods to application
Removing the .js extension
Updated authentication method

Now with tests!
Removing deprecated authentication methods
Remove deprecated authentication methods
Removing deprecated authentication functions from Application
Moving application to models, exporting its class directly
Removing cruft, improving whitespace
Converting push controller to coffee
Making a class out of PushController
Calling constructor
Extracting connection out to a separate class
Storing connections in connections object
Added logging
Converted device to coffee
Storing the connection in the application
Moving active device finding function to model class