Add six module to be compilant for Python 3+ also

Imported six to support changes on python 2 and 3, like iteritems and
fixed new types like method when using custom validators on Python3.