Removes anonymous function callbacks in view
- Todo: rethink setting currentSubreddit in controller
Adds id to search text field
Fixes calls to callback functions in events
- Moves setting of currentSubreddit to model
Removes unecessary .toLowerCase() calls on subreddit
Merge pull request #19 from nifengle/refactor-events

Refactor events
Moves API call to Model
- returns stored posts via Model.posts( subreddit ) function
- eliminates parseJSON and JSON.stringify in multiple places
- now only called in Model.posts() and Model.setPosts() functions
Disentangles controller from view
Merge pull request #20 from nifengle/mvc-refactor

Mvc refactor