* also fixing test posargs to allow single test running
* fixing up random pep8 failures
* removing empty or unused test modules
Change-Id: I59bb2fedeeac2b8eeb45740d16768fec59fb3e4b
* Removes duplication of code in validate
* Breaks large validation functions into atomic, reusable pieces in
super classes.
* Started applying the rule where validation does not leave any side
effects on class members other than the valid boolean.
* Validate functions are not called after the first fail, this
gives less feedback to user, but is probably reasonable general
assumption as some validation relies on others passing.
* Adding some tests for NewUser validation.
* Refactored how the FakeManager handled resource objects or
ids being passed to it.
* Fixed some issues with logs being spat out during tests.
Change-Id: Iea0afce06e92d8f1a1bda0cc03a32c00909828d1