Added error callback to Gatt. Fixes #2 and fixes #4