wrote model methods to allow competitive intelligence. still need tests
got competitive intell working in views and controllers
just added comment with test url to item_purchases_controller
Merge branch 'master' of github.com:drriley/grocery