Added history file in temp directory.

Command line history kept in OS temp directory and limited according to node's default repl history (30 commands at the moment). Don't think we need to specify a different length, but we can if we need to.