Added the ffi-beacon code.

This is the code that actually talks to the ibeacon binary. Woot, this gem is comign together!
Wrote some minitests, rearanged the codes. Thanks @csexton for your help