Application improvements

* Adds specs for Application spec
* Move method from badges helper to application helper
* Adds helper method to some views

I need to merge https://github.com/zalapeach/badges_engine/pull/15 this before merge this :S