Added test case for search to avoid blank queries
modified:   app/controllers/activities_controller.rb
modified:   app/helpers/populate_search_helper.rb
modified:   app/helpers/query_helper.rb

Added indexes for front page loading perf
new file:   db/migrate/20130617070644_add_indexes.rb
Corrected list of index before migration, flatten array of categories
modified:   app/controllers/activities_controller.rb
modified:   app/helpers/query_helper.rb
modified:   db/migrate/20130617070644_add_indexes.rb
Corrected time test issue
modified:   spec/factories/factories.rb