Invoke print with end='' to prevent extra trailing newline.

Re-ordered __version__ behind imports because future imports
**must** come before other statements.
typo in docstring
Add flag to colorize regardless if a terminal
Only colorize output if -t or if output is a tty

Before -b would still colorize output to a pipe.
print usage when -x and -b are used together
Colorize error messages, send to stderr, & exit non-zero

This way shell scripts don't get fed invalid json/xml,
and the error condition can be detected through $? or what
have you.
Exit with non-zero upon ^C
Merge pull request #12 from winny-/master

Allow color when piping (flag -t), don't always colorize when using -b, other fixes.

Thank you so much for your help :+1: :+1: :+1: