Added terminal size function to console.py
Refactored pprint to include terminal_size() from utils
Updated terminal_size to use struct and look for alternatives
Updated pprint to reflect changes in terminal_size()
Move max_lines and max_columns configuration items to top-level.
Removed git marker left over
Fixed repetition in cfg file
Merge pull request #2427 from amras1/terminal-size-refactor

Moved terminal size info to a separate function
Fixing documentation links, warning and some PEP8
Fixing documentation links, warning and some PEP8 in tabel
Merge pull request #2464 from mdboom/wcs/add-api-extension-test

Test astropy.wcs C API
Merge pull request #2467 from bsipocz/fix_various_docs_links

Fix various docs links
Minor typo fix in 0.4 what's new

[ci skip]
Added a couple more tests for the fix for #2262.
Updated the Changelog with info about changes introduced by #2461.
Merge pull request #2462 from mdboom/wcs/sub-error-message

Improve error message in wcs.sub
Upgrade to wcslib-4.23

Fix #2361, #2341.

Also fixes a bug where the values in some WCS headers would be treated
as integers when they should be floats.
fixed (very) small typo
Fixing documentation links, warnings in wcs
Follup to #2463 which fixes a regression I noticed only Python 2.7.3 down to 2.7.0.  This provides a slightly reworked fix to single out StringIO.StringIO for special treatment and leave writing to interfaces that support the modern buffer interface.