fixed metaclass syntax
changed to a more cross-python compatible solution

Worked on 2.7 anyhow. :grin:
Merge pull request #2 from BigBlueHat/fix-metaclass

fixed metaclass syntax