reorganize and add a few tests

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13454 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
added a lot of missing newlines

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13455 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
undo commit 13312 to keep compatibility with BSDmake

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13456 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02