Add tests for SSHConfig parsing and LazyFqdn.

Also modify travis config to install dev-dependencies because new tests rely on
mock.