Update Rails to v4.1.6, various changes

Update all gems
Re-enable turbolinks
Add spinner for page transitions
Switch to postgres in development and test environments
Allow acts_as_list to handle scope changes
Update error pages
Switch SECRET_TOKEN config var to SECRET_KEY_BASE
Move admin javascript to separate file