Merge pull request #12 from pophealth/fixed_median_calculation

fix median calculation for odd size sets
bumping version number for release
bumping version number
add the ability to scope measure lookups to bundle id
Merge pull request #13 from ssayer/bundle_scoping

add the ability to scope measure lookups to bundle id
I wish I could find a reason to reject this pull request since it uses the ternary operator. Alas, I cannot.
make test less brittle, and hopefully give a better failure message
merge cherry picked fix
Merge pull request #14 from ssayer/bundle_scoping

Fix Bundle scoping test
Merging from develop
marking initailzer of QualityReport as a protected method.  Previous versions of QME used QualityReport as a facade around the query cache entries.  This version uses mongoid and treates the reports as first class objects so we need to enusre that they are first searched for and then created as a last resort if they do not exist.  Protecting the initalizer will cause errors in applications attempting to use this updated version of the code with older symantics and alter the users to issues that they will need to address in their own codebase.
adding a comment as to why the initiaizer is protected
Merge pull request #15 from pophealth/protect_initializer

marking initailzer of QualityReport as a protected method.  Previous ver...
merging mongoid_master. Baseline of QME version 3.0.0
adding default results for aggregations that return 0 results
removing duplicated comments
Merge pull request #16 from pophealth/agg_fix

Agg fix
adding indexing to cache models and initial implmentation of stagging rollup jobs in a separate queue to allow for parallel execution
Merge branch 'rollup_performance'

Rebasing and merging pull request #17
Bumping the version number
A query may be specified to be run before map reduce jobs.

The options passed into the job can now contain a "prefilter". This
should be specified as a Hash that can be executed as a MongoDB query.
This query will be run to filter the records that the map reduce job
will run on.

It should be noted that after this change, Cypress will need to pass
in the test_id as a prefilter. That will no longer be handled
separately.