Added persistent command history and fixed a small bug with the SetCommand code

Hello,

I've been using jmxterm for command line interaction with jmx for a while. It's a great tool, but I often find myself wanting the history from previous sessions. Jline has persistent history support, so I just enabled it in this patch...