Added onConnect and onDisconnected method to Myo C++ file.