Refactored factory into its own module; tests up for searchresults and searchbar.

This pull request is a rather large one.

I refactored the eventual ajax "get" request and data storage into its own factory/service (new folder for that).

Also added a few tests for my search results and search bar module. 

Made a number of changes to other files such as app.js and index.html to make this all work for the time being. This is also the first time I'm committing the view changes and controller logic as well.