First attempt at handling writes to a locked metadata file

Please see https://github.com/LightBlueProject/LightBlue/issues/5
Is there a reason this isn't using StandaloneAzureTestsBase (possibly with a new type)?