Add checks to avoid NPE if not configuration defined for a device.
Merge pull request #1 from openhab/master

Update from original
Fix for #881

Telnet connection is now only opened if a password is set and if there
is an item configured which uses the telnet connect on the standard
port.
Z-Wave: Node Deletion & Add Controller IsFailedNode

A Z-Wave node can only be deleted if its present in the controllers
"Failed List" resident in its own NVRAM.
Added the Z-Wave IsFailedNode Message Class.
Added new Failed status if the controller has it flagged as failed in
its own database.
This then allows a node to be deleted.
Visibility of the "Delete Node" button uses this new logic.
Z-Wave: Node Deletion - improve FailedNode logic

Remove unnecessary call to delete node xml - already done on success
event at controller level.
Allow a FAILED node to be set to alive again if packets are received
from it.
Heal process of failed nodes handled correctly.
Z-Wave: Failed Node - Add "Failed" boolean status

Added "Failed" status to config
Consolidated status info.
Removed the 'failed' status and changed the 'node stage' to provide the enum so the client side can see what state the device is in.
Move requestIsFailedNode to NetworkMonitor

To ensure always gets called when a node is marked as dead during
runtime.
Thanks to Chris for the advice!
removed password log message
Initial commit of node deserialisation
Update serialisation code.
This modification moves the 'restore from file' code from the node advancer, into the controller. Instead of creating a new node, then restoring and then having to read all the information out of the file and put it into the node, and restore all the command classes and their data, this instead reads the node file directly and uses the class created by the XML deserialiser which contains all the data that was originally serialised. This avoids having to add getter/setter methods for every new class, or bit of information that gets added to classes, or nodes in future.
Once the data is deserialised from disk, some information needs to be added to the command classes and nodes - i.e. links to the controller, and to the node for a command class.
** Needs further testing **
Ensure name/location get maintained even if the XML is considered invalid.
Remove version from XML folder.
Fix bug restoring name/location
Z-Wave: multi instance encap response handler fixed
Tidy code
Don't persist the node stage - this will always be reset on startup anyway.
Multi-instance command fixes.
Z-Wave: changed default endpoint value to 0.
Revert "Z-Wave: changed default endpoint value to 0."

This reverts commit eecd7c303d9b2976d6cf732f1154d7b231625af1.
Make association group names read-only