@1aurabrown => use DI through the XApp process and don't open Main Storyboard on tests

My earlier stab at this was half-hearted, there's a lot of global grabbing of `standardUserDefaults` - I've DI'd it out for our tests.

Due to restrictions on cross target runtime manipulation I've had to stop the app delegates methods from just running outright in the app delegate