Cleanup and Add More Tests

This pull request
  - cleans up whitespace for readability
  - refactors a few methods to make the code DRYer
  - adds basic functional tests for resolve, search and export email controllers
    - incorporates this [fix](/team-umlaut/umlaut/pull/5) so that the resolve controller test doesn't complain about malformed HTML
    - cleans up HTML in search and export email views for the same reason
  - adds tests for the SFX and Internet Archive services
  - adds a shell test for WorldCat service
  - adds test for Permalinks
  - will help me manage the bootstrap branch a bit better
  - add functional test for link router controller and store controller
  - add [coveralls.io](http://coveralls.io) support to see testing coverage