Handle prefix arg for goto-line.

When called with a prefix arg, goto-line jumps to the previous buffer.
This is cool for e.g. jumping from a line number in a log file to the
corresponding line in another buffer.

In this scenario we don't want to turn on linum-mode.
Add visual-regexp and smart-scan packages.