Added basic code necessary for history functionality (from octave_kernel); removed debug info; handled help on magics slightly differently; reduced help level requested to match IPython's levels (0 and 1)