Add brakeman to Gemfile
Revert "Switch to JRuby"

This reverts commit bc3477f520d751407e8eb649bb0e04e4c3535749.
Switch to Ruby 2.0
Simpify search SQL
Add missing attr_accessible statements