upgrade to rails 4.1.4
added logging to help debug ActiveRecord query counts
lookup commands for current_user
fixed a bunch of n+1 queries related to checks/metrics/templates
fix display of trigger status checkboxes
refactored multi_tenant into multiple files
speed up MultiTenant checks by moving into controller

* Instead of testing as ActiveRecord objects are being instantiated
  we simply queue them up and test them all at once after the
  controller method has finished. This let's us make better use of
  the query cache (previously we were getting cache misses due to
  the order of operations, particularly during includes).
optimize more queries
cleanup
log model name
more n+1 fixes
simpler restful response handling in controllers