use six for metaclasses
use int as long if python 3 and above
Add changelog mention for PR #8