Metaclass Python 3.x Compatibility

According to the OpenStack style guide (http://docs.openstack.org/developer/hacking/), for Python 3.x compatibility use "six.add_metaclass" instead of " __metaclass__."

Change-Id: Iff090dfaf53af17012fe28f732c157caabc1841c