Set up our logging functionality earlier
Merge remote-tracking branch 'origin/dev' into earlier_logging
Merge branch 'dev' into earlier_logging
Applied code review feedback
Break options parsing into two parts, so that we get logging-related options first and can then log out any errors with other options
Merge pull request #441 from Metaswitch/earlier_logging

[Reviewer: Ellie] Set up our logging functionality earlier