chore: fix Travis build

Specify hostname/port for connect server to avoid
https://github.com/joyent/libuv/issues/826
test(docs): add missing createMockWindow()

Add missing angular.mock.createMockWindow (removed in
0dd062231a4d495133fd907eeae95c566380c6e1), that the docs tests were
using.