Move variables from header to C file.
Change static ints in header file to defines
Move static variables from C file to header
rename piconet to bt_piconet and make perm_table global
made a number of functions static, shuffle order of some functions
unexport and reorder functions in blutooth_piconet
function renames
more renames
comment out some debugging lines
Change bt_ prefix to btbb_
Move #defines to .c from header
Turn on optimization.

We forgot to turn on optimization in libbtbb! This should speed things
up a little. Most of the speedup is seen at -O2, with a little more at
-O3. Higher values do not help.
Add btbb.h to specify external API
More library architecture.

- btbb_init() required, mainly used to initialize syndrome table
- syndrome table depth determined by caller at init, limited to 5
- packet flags consolidated into a structure (uint32_t bitfields)
Different way of doing flags.
Continued work on accessors.
More refactoring to make libbtbb independently maintainable
- Make libbtbb structure opaque.
- Add new(), ref() and unref() for btbb_packet and btbb_piconet.
- Consistent naming (pkt, pn) for better or worse.
Make sure to install LE headers so that libubertooth builds
Move packet struct creation in to libbtbb
Remove debug printf
Move extended packet processing from ubertooth to libbtbb
Fix bad formatting