added packaging info

this required restructuring the package to separate metadata from
functionality
improved extension interface

oddly, now that we have a dot in the import name, Python Markdown is
okay with importing by string reference
added Travis CI configuration