cleanup layout of gemfile, add license specification
fix rake test pattern

fix routes for rails 4
update gems

change hash syntax for backwards compatibility