strict mode

this is the first step toward using strict mode (https://github.com/ocsigen/js_of_ocaml/issues/45)
@vouillon, I've pushed this branch to ocsigen/js_of_ocaml repo so you can push commits if needed