Upgrade colorama to 0.3.1

Relevant items in the colorama changelog are:

* Fix issue 47, incompatible with pyreadline.
* Fix always-crash on non-Windows platforms, reported by Matt McCormick
* Fixed crash on exit with closed stdout, with thanks to Marc Abramowitz.

Fixes #1672
Fixes #1314