Update from scaffolding_extensions to autoforme
Update Rails to 4.0.2
Fix color of text on search/browse pages
Update location of demo site
Fix Gemfile after scaffolding_extensions replacement with autoforme

Update rails version to match config/boot.rb.
Remove manual $: monkeying.
Update versions in Gemfile.lock, don't specify ruby version in Gemfile
Don't sort entity autocomplete results alphanumerically on client side on register form

The backend returns results by last time the entity was used, so
that more valuable results appear closer to the top.  This is how
things used to work before the update to autoforme.