Format `texMate` code

Format the code according to PEP 8.

 #ignore
Reorganize import statements in `texMate`

- Remove unused imports

- Import used functions explicitly instead of using
  `from package import *`.

#ignore
Fix minor bug in the exception code of `texMate`

The variable `realfn` used in the exception branch might not be
initialized at all if an exception occurs. This would lead to another
exception being raised instead of printing the error message to stdout.
Remove support for OS X 10.4 from `texMate`
Use cleaner code in if statements of `texMate`

#ignore
Remove unused variable from `texMate`

#ignore
Remove whitespace from `PyTeXdoc`

#ignore
Modernize `expandName` function

Make the following changes to update the function according to current
Python coding practice:

- Add documentation and doc-tests

- Use lower case notation for function name and variables

- Use format strings instead of old % formatting

 #ignore
Add TextMate project file

#ignore
Add `Makefile` to run (doc-)tests

#ignore
Format code in `texparser`

Format code according to PEP8. This commit removes most warnings
returned by `PyCheckMate`.

#ignore
Reorganize import statements in `texparser`

- Remove unused imports

- Import used functions explicitly instead of using
  `from package import *`.

#ignore
Use cleaner code in if statement in `texparser`

#ignore
Fix bug in HTML log output

Before this update the link to the transcript file did not show up in
the HTML output.
Remove unused code from `texparser`

#ignore
Fix minor spelling mistakes in `texparser`

#ignore
Remove useless code from `texparser`

#ignore
Remove function `shell_quote`

Instead of quoting filenames with double quotes inside shell commands,
we now use single quotes. This way we do not need to replace special
characters like “$” signs in filenames before we use them inside the
shell.

 #ignore
Modernize `run_bibtex`

Make the following changes to update the function according to current
Python coding practice:

- Add documentation and doc-tests

- Use lower case notation for variables

- Use format strings instead of old % formatting

- Remove unused argument `bibfile`

 #ignore
Add test script for `texMate`

 #ignore