Move BrooklynAppUnitTestSupport to core

And updates tests in core to extend it.