add coveralls to travis-ci
fix import for python 3 compatibility
some other python 3.2 fixes
update coverage parameters