Mass 2.0 Refactor

Change-Id: I13b9bdb8b5f4564ac277da87a98f9f63e36850ab
Reviewed-on: http://review.couchbase.org/39934
Reviewed-by: Jeffry Morris <jeffrymorris@gmail.com>
Tested-by: Brett Lawson <brett19@gmail.com>