phing build.xml + PHPUnit tests

Massive effort from Stefan on the build.xml for phing

Automated unit tests getting ever closer