several fixes

Hi Nathaniel,

I've made a few changes to your fork of dmozparser that you might find useful.

The first was allowing any file-like object to be passed to the parsers (I use it to pass in a file opened by the `gzip.open` call so that it can work with gzipped files directly).

The second is a bug that the content parser would truncate element content in cases where the sax parser encounters XML entities in text, e.g. "&" or quotes, and breaks up the element content into multiple `characters` calls.