ported over freeRTOS 7x heap_4 manager for MK1; added flag in capabilities to control whether main tasks are created in temporary task (disabled for MK1, enabled for MK2)