Efficiency changes

A number of changes to get more efficient builds. Manual squash of efficient_load, due to commit cruff. 

Main changes: 
 staging/production precompile assets and commit to repo before loading. configs in hooks and environments/ configs reflect this
 create basic deploy script to handle this. work in progress
 changes to views to use the dynamic JS require to allow dynamic calls
 enable compression for asset compilation for both js and css
 minimise jquery-ui for only required functions
 remove unused assets
 

PLUS

Bumping ruby to version 2.1.0. Travis keeps 1.9.3 in it's test matrix for backward compatibility. 


PR succeeds #37