Added logging framework (Metrolog)

Plus tons of trace messages in a (failed) attempt to track down why
sharing is unreliable on phone.
Proper UI whilst sharing

Added a proper page to show whilst sharing, with a spinny progress
thingy and everything. I'm not sure why, but this seems to fix the
problem where the share operation was dying unexpectedly.