Linting of router module

Fixes some line continuation issues, and re-enables checking for those
in pylint.