Change print function to support Python 2 and 3

Hey Teemu,
I currenlty developing on a bigger project with Flask. We use Python3 and it would be nice if we could use your fancy color extension :) Here is a little improvement to support Python 2 and 3. If tested it with Python 2.7 and 3.4.