added psych to gemfile

damn it rails
added rudimentary error handling

also fixed error handling/validations in the histograms model
change env variable in config
fixed rails_helper to play nice with zeus
refactored helpers
refactored histograms controller spec
refactored histogram model spec