Hook up delegate to enable cylinder autocompletion in planner

That was easy

Hand-holding-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Fix crash when cancelling dive add on empty dive list

Don't pass NULL dives around.

Fixes #231

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Mark divelist changed when deleting a dive

Fixes #232

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Stop clicks on the globe from changing dive list selection while editing

This caused us to get royally confused when manually adding a dive and
trying to set the location through the marble widget.

Fixes # 229

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>