Move Cursor::scroll() to Window::scroll() and improve.

scroll() has now a $repeat argument.
scroll() does not change the cursor positions.
Scroll if space is not enough for autocompletion.

When printing all solutions from an autocompleter (the menu), we scroll
up if there is no enough space below the cursor.
[auto] Merge from Console

    • #9ef9fcc — Move Cursor::scroll() to Window::scroll() and improve. (Ivan Enderlin, 2013-01-15)
    • #92e7f1a — scroll() does not change the cursor positions. (Ivan Enderlin, 2013-01-15)
    • #c4a4272 — Scroll if space is not enough for autocompletion. (Ivan Enderlin, 2013-01-15)

---

Merge remote branch 'library-console/master'