updating calls to deprecated scoped method
changing from deprecated syntax
upgrade dependencies
use ruby 2.1.1
updating ruby versions for travis build
Merge pull request #11 from brainsiq/master

Upgrade for rails 4 to remove deprecated calls