Fix mathicsserver errors when viewing documentation examples

Typo fixes only (no actual bug)
Fix readline breakage due to wrapped sys.stdout

It turns out that wrapping sys.stdout in a Python object (such as
codecs.StreamWriter) interferes with raw_input's use of readline. See
https://bugzilla.redhat.com/show_bug.cgi?id=448864#c15 for full
details.

Add a workaround that sets sys.stdout to the original file object
around the call to raw_input(), restoring it afterwards.
Merge pull request #146 from bnjones/master

Fix minor readline/documentation issues
Merge pull request #143 from sn6uv/setuptools

cleanup setup.py to use only setuptools
fix bug with OptionsPattern[]
Merge pull request #137 from sn6uv/OptionsPattern

fix OptionsPattern[] bug
Implement ToCharacterCode and FromCharacterCode
implement Export and RegisterExport with Text format
fix WriteString to handle non-strings
add empty exprs WriteString test
refactor stream handling
implement BinaryRead and BinaryWrite
Implement BinaryRead types
add Integer128, TerminatedString and UnsignedInteger128 formats to BinaryRead
add Integer128, TerminatedString and UnsignedInteger128 formats to BinaryRead
implement BinaryRead Real128 reader
implement Complex256 support for Binary Read (requires testing)
add warning message to Real128 and Complex256
Implement Inf and NaN handling for BinaryRead of IEEE 754 floats
refactor BinaryRead readers