Fixed some CS and phpdoc
Use the autoloader for test files rather than requiring them by hand
Fixed coding standards in tests