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