fixes #21; improved build system using ANT and updated documentation; removed dependency on xml-apis; other minor fixes