Added methods to query the DB per search field
Updated
Added validation to model activity
modified:   app/models/activity.rb

Updated the populate method to include cost and dates
modified:   app/assets/javascripts/populate.js

Created word model
new file:   app/models/word.rb

Removed nested link
modified:   app/views/activities/_activities_sorted_list.html.erb

Search engine adjustments
modified:   app/controllers/activities_controller.rb
modified:   app/helpers/populate_search_helper.rb
Merge branch 'words' into betterdata

Conflicts:
	app/helpers/populate_search_helper.rb
	app/models/word.rb
Fixed typos in activity.rb
modified:   app/models/activity.rb
Merge branch 'words' of https://github.com/thomasstephane/randompractice into words
Updated model and search engine to take into account the city case (not a sperate table for now)
modified:   app/helpers/populate_search_helper.rb
new file:   app/models/region.rb
modified:   app/models/word.rb