fix application accessor
Load Application-level metrics
Merge branch 'master' of github.com:boourns/capacity-monitor

Conflicts:
	app/models/newrelic_metric.rb
	db/schema.rb
fix the move to use Agent.agent_id for the newrelic id. prolly needs
rename
protect against connectivity issue while sampling