Handle invalid property values in Switch node
Fixes #404
Add dynamic node api

- nodes modules can be installed/removed dynamically at runtime
- nodes can be enabled/disabled
- onpaletteadd/onpaletteremove api added to node definitions
- initial implementation of nr-cli