Upgrade to rails 4.1.1

Remove composite_primary_keys gem (prepare for rails 4.1)

and refactor madek so it doesn't need it

Upgrade gems to rails 4.1.1; require ruby 2.1.1

Revert sass gem version (bundler problem)

Rename search to text_search

One more search

Fix person search

Fix ...

...wip...

Fix

Fix spec

search -> text_search

MediaResourcesFilter search -> text_search

Fix spec

Resolved some assets issues

Resurrect old search method for users

Use hacky_search in people_controller

Fix keywords controller

Remove flash from redirect

Debugging to_sql problem

Fix prepared query

Use flash.keep instead of forwarding the flash object

Fix return in redirect

Monkey patch to_sql with unprepared_statement

Fix a subquery

Fix one issue in person#create

Fix a issue in app_admien/media_sets_controller

Fix the fix

Fix user autocompletion in app_admin/users
Enable virtual attributes on MetaContext

Hacky solution in order to get it work.  Needs refactoring.