Move connection operations to main in gatttool
Move connection operations to main in gatttool

The connection operations (do_connect) were moved to main. So, the
internal call to do_connect() were removed and GAttrib structure is
initialized/freed in main. All callbacks receive the GAttrib structure
through the user_data parameter.

pstglia/external-bluetooth-bluez,mapfau/bluez,silent-snowman/bluez,pkarasev3/bluez,silent-snowman/bluez,ComputeCycles/bluez,mapfau/bluez,ComputeCycles/bluez,mapfau/bluez,ComputeCycles/bluez,ComputeCycles/bluez,pstglia/external-bluetooth-bluez,pstglia/external-bluetooth-bluez,pkarasev3/bluez,pkarasev3/bluez,pstglia/external-bluetooth-bluez,silent-snowman/bluez,pkarasev3/bluez,silent-snowman/bluez,mapfau/bluez