A reimplementation of http://pear.php.net/package/Console_Color/ for php 5.3