[javalib] started adding writer


git-svn-id: http://ocamllibs.googlecode.com/svn/trunk@275 21970f9d-2756-cbab-44b1-85fcaa48d7c2
Merge branch 'ocamllibs/master'