hackificator adds "public" modifier if possible

My first try at ocaml, let's see how it goes.

related to https://github.com/facebook/hhvm/issues/2388