fix for -fno-use-cxa-atexit bug
add sleep functions to ADXL library
clean up some old code, and add ADXL sleep detection functions
extra option for custom sending messages
rename sleep to standby and add querying interrupt source