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!
Updated opensprinkler library with version that allows access to the rain
sensor state.
removed password log message
Changed OpenSprinkler to an Active Binding. Added ability to update state
on stations from the OpenSprinkler device regularly. Added Contact item
type for rain sensor.
Added default for OpenSprinkler refresh rate to the default config.
Removed redundand conditional.
Update association to use 'get all' function rather than cycling through the database.
This is less reliant on the database!
Z-Wave: multi instance encap response handler fixed
Tidy code
Multi-instance command fixes.
Z-Wave: changed default endpoint value to 0.
Merge pull request #1534 from CrackerStealth/opensprinklerenhance

OpenSprinkler Enhancements
Revert "Z-Wave: changed default endpoint value to 0."

This reverts commit eecd7c303d9b2976d6cf732f1154d7b231625af1.