stop using goto-line as recommended by emacs help on goto-line
do not require w3m

Instead of requiring w3m, which is not a package included with Emacs by
default, use declare-function and defvar. This removes byte compilation
warnings, without requiring w3m to be installed.
Merge pull request #283 from ryantm/byte-compile-warnings

Reduce byte compilation warnings