Fix failing tests

  * brooklyn.util.ResourceUtilsTest.testGetResourceViaClasspathWithoutPrefix() fails on windows paths when OSGi is used
  * Explicitly wait for osgi framework shutdown before deleting the cache folder so all files are unlocked
  * LocationUsageTrackingTest.testUsageIncludesStartAndStopEvents - the test excludes the start and stop ms from the range of possible values
  * Temporary file and folder creation wasn't deterministic, resulting in unexpected exceptions
  * UsageResourceTest - guarantee the 1ms delay that the test assumes at specific points (can't use dates in the future)
looks to me like the only way `creationOrder.subList(0,1)` would fail is if their creation times are identical (ie to nearest millisecond).  i don't think there are issues with "older" one being deleted in that situation.  but maybe so that we can have *both* checks (the new time one, and the original `subList` one) we should stick a `Time.sleep(Duration.millis(1))` before the `resize(2)` ?