improved test
added profile to app table, added tests to app model
added app controller and tests
Merge pull request #10 from benpritchard/master

Added apps model & controller