Added tests directory for PHPUnit testing
Stopped using static logger objects in classes, so each class can have
it's own log handler if wanted.
Started writing unit tests