added ansi_*() functions to calculate actual text length ignoring ansi escapes
added RuntimeError exception handling and error message
added message about using the "end" command during recording
added support for ctrl+d ending a macro instead of exiting shell
Merge branch 'master' of github.com:ameily/pypsi

Conflicts:
	pypsi/commands/macro.py