Getting carried away, have cleaned up the diagnostics and adding azure references - whihc may need to be pulled out? also added webconfig testing facilities
clean up of code and comments
Adding comments
Merge pull request #9 from RhysC/DiagnosticsAndTesting

Diagnostics and testing