Merge pull request #101 from hardillb/master

Fix typo in the delay node
Switch node null/not null tests don't always work

    a === null / a !=== null

is different to

    typeof a == "undefined" / typeof a != "undefined"
Non-Cloning of req/res properties caused them to be lost

The previous fix to not clone the req/res objects introduced a bug where the req/res objects were lost from all but the first clone made out of a particular node.
Overlapping mqtt subs get duplicate messages
Switch node: infer intent to compare numbers
Fixes #108
Added output "New Line" char to Serial
Addresses Issue #104
adds the option to re-use the character used the split input into lineson input as an append to every line sent out to the serial port.
Let serialport retry reconnects etc
Partial fix to Issue #111

This doesn't fix the screaming loop issue if you try to write to an unplugged
serial port - but does attempt to fix the not retrying to reconnect part of 
the issue.

Both were introduced by changes to the underlying serialport npm.
Add JSONP support to http response node
Fixes #102
Allow JSON sending/receiving in websocket node
Fixes #105
Add websocket node docs
Part of #105
Add "Unknown node" type to core.
Relates to Issue #5
not the best/complete solution - but a start.
Make missing node type error popup non-permanent
Fixes Issue #113
Refinements to Unknown-node handling
Refinement to #113
Handle Buffer objects properly in Serial out node
Fixes #115
The serial out node does a JSON.stringify if the payload is an object. This was incorrectly being applied to Buffer objects, causing the output seen in issue #115.

The Buffer is now passed through as-is (with the newline appended if so configured).
Allow storage module to be set explicitly

Rather than just by name
Add session awareness to TCP nodes
Closes #63,#65
Track node.changed state over undo
Part of #33
Automatically follow 301-redirects in HTTP request node
Fixes #30
Only declare node variables inside node declaration.
Fix for Issue #119
(also reformatted with spaces hence what looks like massive changes...)
Bump version 0.5.0