Generate documentation for ocaml lexers when appropriate

Closes #28.
Pass the threading model to ocaml tools when it is required

Closes #13.
Add the threads package only when required
Prepare patchset/v2.1.1
Merge branch 'patchset/v2.1.1'