Write documentation

Add lots of documentation for users and developers.

Some fix in the library.
Implement 3 user options

The effect of the global variables MATHCOLOR, ONLYDISPLAY and
MATHOVERWRITE are implemented.

Some demos of the options have been add.