Fix bug with autocall and multiline input recalled from readline buffer.
Fix bug with autocall and multiline input recalled from readline buffer.

Reported by John Hunter on list.

ipython/ipython,ipython/ipython