Documented packages for all classes, and added Phing build task for ApiGen docs.