Pios queue

* fixes #1284 
* partly fixes #1285 
* fixes #1286 
* partly fixes #1287 
* abstracts away queue from FreeRTOS
* removes FreeRTOS headers and tick macros from pios.h (!)
* use pios_heap exclusively
* fixes a lot of bitwise-or on logical types misusage
* fixes time delta calculation in pios_rfm22b.c
By making the mtx_handle member uintptr_t there is no more need to include any FreeRTOS header just to use pios_mutex / pios_semaphore / pios_queue / pios_thread.