Test to ensure credential definition is defined after index.registerType
Merge pull request #307 from hindessm/start-testing-nodes

Some initial tests for core nodes.
Merge pull request #303 from hbeeken/test-registerType-with-credentials

Adding test for index.registerType with credentials defined
Avoid corrupting message payload while logging.
Add more tests for function node.
Merge pull request #308 from hindessm/avoid-debug-payload-corruption

Avoid corrupting message payload while logging.
Merge pull request #309 from hindessm/more-function-node-tests

Add more tests for function node.
Test Node send for req/res behaviour.
Test Node status method.
Adding unit tests for credentials.extract
Merge pull request #310 from hindessm/more-node-tests

More tests for the Node base class.
Merge pull request #311 from hbeeken/test-credentials-extract

Adding unit tests for credentials.extract
Add webSocketKeepAliveTime setting to aid testing.
Add comms keep alive tests.
Remove redundant assignment.

The publish immediately overwrites this time so there isn't much
point setting it.
Merge pull request #313 from hindessm/more-comms-tests

More comms tests