fixes for pinWakeCallback, incorrect return types for rfduino_ calls, and max sketch size