CSS fix
[Fixes #3407]
Bump caypbara to 2.1.0:

* Add timeout into config/database.yml template to avoid SQLite3 DB locked out
* Use lenient non-exact setting for Capybara element matcher (same as 1.x)
Capybara 2 updates.
Fix Frontend specs for capybara2.
Fix backend specs for Capybara 2.
Add .ruby-version to gitignore.
Fix API specs for Capybara 2 on Ruby 1.9.3.