hub.mock.js for Hub mocking (currently for sequence node retrieval)

The unit test was refactored and  Hub mocking (using Nock) is now in a separate file.
Currently the unit tests will produce 6 fails, for the logic that I have not implemented yet.
This change also contains partial work on integration test (that runs with 'make test-int'