Application improvements

* Adds specs for Application spec
* Move method from badges helper to application helper
* Adds helper method to some views