Create cbeacon.c

Basically sets bluetooth device to scan mode, receives data, accepting only beacon data, returns the beacon data in a callback.