GCS/Input Config: directly set meta data during calibration

Because the input wizard toggles the metadata a fair number of
times the latency of ack'ing all of them blocks the UI. This
changes the behavior to directly set and store the metadata.
While this might miss one or two settings, it works reliably
for configuring the wizard (and approximates the previous
behavior that has been working for a while).

It also fixes a confusing bug that was occuring at the end
of calibration where the save button was blocking due to
a series of metadata transactions taking up the transaction
queue.
Merge pull request #1304 from peabody124/inputwizard_metadata_fix

GCS/Input Config: directly set meta data during calibration
Modules: drop State/coptercontrol as it is unused
pios_queue: add
all targets: add pios_queue.c to makefile
all flight: use pios_queue
all flight: use PIOS_free() instead of vPortFree()
all flight: use PIOS_malloc() instead of pvPortMalloc()
System/systemmod: use PIOS_heap_get_free_size()
all targets: use PIOS_heap_initialize_blocks()
osx pios_heap: add stub for PIOS_heap_initialize_blocks()
posix pios_heap: add stub for PIOS_heap_initialize_blocks()
PiOS mutex, queue, semaphore, thread: hide implementation using uintptr_t
all pios_sys: remove redundant irq disable in PIOS_SYS_Reset()
all targets main: add headers for vTaskStartScheduler()
pios.h: remove FreeRTOS headers and tick macros
all PiOS: harmonize usage of portEND_SWITCHING_ISR()
pios_mutex, pios_queue, pios_semaphore, pios_thread: add doxygen function descriptions
Merge pull request #1289 from lilvinz/pios_queue

Pios queue
PIOS MPU9250: fix typo for pios_thread