Reportstate 11

Provisionally fixes #11
Opening PR with the expectation that there is probably a bit more stuff to do, but some comments would be appreciated.
See my changes in the latest commits for proposed fix to #325 via a `--config` parameter on `flocker-reportstate`