add support for a multi-tabbed measure view

* upgrade Thorax
* change MeasureView into a LayoutView
* delegate tab switching, population switching to logic view, patient results view
build measure logic models
define isPopulated() on submeasure, but don't fetch on dashboard
hack measure model to use hqmf_id instead of Mongoid id

This is a short term solution- the longer term solution is to change `HealthDataStandards::CQM::Measure.categories` to call the id the hqmf_id.

This also updates the patient results view to use query.result() instead of query.get('result').
add measurement period to measure view
integrate the measure styles with the rest of the site
format fraction on measure page
Merge pull request #87 from pophealth/mview

measure logic view