Cleanup
Added missing imports
Separated parsing HTML into DOM from preprocessing #1
Use lxml's cleaner as preprocessor for DOM #1
Added pluggable DOM preprocessor (closes #1)