save interactive console commands to persistent history

(One of many requests, all together at https://github.com/jonahkichwacoders/PyDev/tree/fabioz_all_requests if it is useful)

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.