Fix for when pyparsing isn't present

Conflicts:
	setupext.py
Merge pull request #2639 from bulli92/master

BUGFIX: ensure that number of classes is always of type INT in Colormap