Update rails to 3.1.12

Also updating sass-rails to 3.1.7
Upgrade to bootstrap 2.3.2 and refactor some UI