Use six.add_metaclass instead of __metaclass__

According to http://docs.openstack.org/developer/hacking/ it should
be preferred to use six.add_metaclass instead of __metaclass__.

Added new requirement six >= 1.6.0.

Change-Id: Ic7e4f5cb03889cc6bfdb04a657d4654b5fedc985