Remove unncessary functions and imports

Removed from globals.py:

* import generate as g (I'm not even sure what this was doing or where it was referenced)
* The get_settings_file def, which is now in meTypeset.py
Add docopt.py

This decreases external dependencies and also ensures we can work against a particular stable version.

The license is compatible so shouldn't be a problem.
Cleanup and fixes

* Added print_message_and_exit function as my environment couldn't find it.
* Added import docx2tei as this is how we find the settings path (via docx2tei.__file__)
reference tokenize fixed, ToDo: recognize of fir word after ref can be use as ID, otherwise an autonumeric will be required
ignore of Rodrigo testfolder
Remove diff marker
updated basic and sectionheader tests to python script (experimental)