KBucket.getContact expects guid, not contact object.
Searches for contact among existing contacts always failed in KBucket.getContact when called from OptimizedTreeRoutingTable.addContact.
Merge pull request #745 from freamon/bugfixes

Fix for DB writes