WIP First attempt at making selectable title behave more like select2.
Fixed some bugs and cleaned up tests.

"Reverting" the Gemfile.lock the easy way.

Total Gemfile farce here sorry it's early.

Removed references to a library we're not using.
Tidied up selectable title js a bit.
Broke apart prev/next methods and wrote some tests for key presses.
Refactored out the loops in selectable title directive for better readability.
Fixed bug with event default prevention.
Hiding the webkit search field cancel x icon in selectable title.
Merge pull request #1513 from opf/feature/seletable-title-more-like-select2

Feature/selectable title more like select2