Add phpdoc.xml and fix build.xml