Update association to use 'get all' function rather than cycling through the database.
This is less reliant on the database!
Merge pull request #1537 from cdjackson/zwave-association_update

Update association to use 'get all' function rather than cycling through the database.