add six (python 2 to 3 compat) to requirements
Fix unicode properly

note: ammended by dnozay to refactor common parts.