Stop appsync on shutdown, only do diag appsync when appsync is compiled in, add connection_sharing mode to development headers

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>