finally fix this one lingering testing bug.
first step towards rewriting this monster.
changing the interface.

Hopefully this makes it more descriptive and less repetitive.
renaming properties and general cleanup

Attempting to make our property names more descriptive and less cryptic.  For instance, a variable which is a raw string to be passed to a regex compile (or similar) has a _re_s suffix.  If the regex has already been compiled, the suffix is just _re.
Also, I'm taking some first steps toward making our version look and act a little more like the original php (where appropriate, of course).
drop html4 output. generate either xhtml or html5 instead.
a better way to get the uuid string.
Use UUID.hex property instead of Py2-only undocumented UUID.get_hex() getter.
In setup.py, get version without loading the whole textile package.

Loading the package in setup.py is unnecessary,
and will fail if dependencies are not installed yet.
Use regex package for matching non-latin uppercase characters.

This adds a dependency, but is simpler, faster and more robust
than the previous approach.
Added a test for matching non-latin caps.
Move _glyph_defaults to Textile.glyph_definitions.

Having them (back) in the Textile class allows changing them in a subclass,
for example to change quote marks to ones used in a local language.
Renaming to glyph_definitions, because the dictionary is used directly
rather than being a default.

Added a simple test case for sublassing Textile and changing a glyph.
Merge pull request #9 from rczajka/develop

Fix UUID.get_hex() missing in py3, use regex for matching uppercase.
fix test so that it runs and runs successfully.
update tox config

Simpler, more correct.  It should be noted that py26 on Mac OS X Snow Leopard 10.6.8 needs the following to install regex and Pillow:
[testenv:py26]
setenv =
    ARCHFLAGS=-arch i386 -arch x86_64
Py3-compatible get_version in setup.py.
Bump version to next minor pre-release.
Python 3.2 compatible version.
Merge pull request #10 from rczajka/develop

Py3-compatible get_version in setup.py.
add travis configuration.
add requirements.txt
add py34 and fix py26 on travis builds.