allow specific encoding for xml report
add six (python 2 to 3 compat) to requirements
Fix unicode properly

note: ammended by dnozay to refactor common parts.
fix issue #23, check filename using six.string_types.
some basic check that XMLTestRunner is working