Feature/mr plugin layer test range query stable

This is exactly the same as the MRPluginLayerTest_Stable branch.

The new feature is that there is now support for applying the single ranged query found in the original string query to the scan instance so that the specified range in the query is used to scan a smaller portion of the database.