Socket memory leak fix for QBluetoothServer QNX

listen(const QBluetoothAddress &address, quint16 port) was leaking memory if socket was not in listening state.

This occurred when calling a method multiple times.

Task-number: QTBUG-36626

Change-Id: I6a90f865d6c0e69d9f0b7acf0d200ec71910d448
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
QBluetoothServer QNX closing error fix

In case socket was not defined error was emitted and it should not
do anything when closing a socket.

Resetting of d->activeSockets implemented.

Task-number: QTBUG-36626
Change-Id: Id1f37c0019981ffb6d9b5fd00159c118d313f44c
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>