Save interactive console commands to a persistent history in the eclipse InstanceScope

Also adds a clear history button to the Command history dialog
(accessed with PageUp) that clears the local and global history.
Merge branch 'development' into pullrequest/save_interactive_console_commands_to_persistent_history
Store global console history in plugin.getStateLocation()/history.py

Includes pulling out global history code into new class and some
additional tests.
Merge branch 'development' into pullrequest/save_interactive_console_commands_to_persistent_history
Merge branch 'save_interactive_console_commands_to_persistent_history' into pullrequest/save_interactive_console_commands_to_persistent_history
Merge branch 'pullrequest/save_interactive_console_commands_to_persistent_history' of https://github.com/jonahkichwacoders/Pydev into jonahkichwacoders-pullrequest/save_interactive_console_commands_to_persistent_history
Merged persistent history. Done changes to: lower the default number of max entries to 200, fixed the global history to respect the limit.