Stubs

adds mock facilities, insts, regions, and markets for testing purposes. adds stubs to the core in src/stubs, and integrates stub testing into the unit test driver.

closes #606 and closes #602