Update tmgr library (need testing)

Signed-off-by: Maslov Nikita <wkernelteam@gmail.com>
Fix of wrong fast_queue pointer

Signed-off-by: Maslov Nikita <wkernelteam@gmail.com>
Add cross-platform include/lib/inttypes.h

Signed-off-by: Nikita 'webconn' Maslov <wkernelteam@gmail.com>
Rework tmgr library (issue #16) NEED TESTING

Features of reworked tmgr library:

* Cross-platform, tiny task manager/scheduler

* Two modes of operation: uptime-based (faster, but limited in device
uptime) and countdown-based (a bit slower, but uptime-independent)

* In uptime-based mode, the information about system uptime is available
and could be used in projects (for debugging, logging etc.)

* Time conversion functions (s/ms/us to timer ticks and vice versa)

* Basic delay implementation

Signed-off-by: Nikita 'webconn' Maslov <wkernelteam@gmail.com>
tmgr: Add docs and fix coding style issues

Signed-off-by: Nikita 'webconn' Maslov <wkernelteam@gmail.com>
tmgr: add help lines in kcnf

Signed-off-by: Nikita 'webconn' Maslov <wkernelteam@gmail.com>
tmgr: Full rework of timers library

Now structure is a bit closer to Linux kernel timers.

See docs for further information.

Signed-off-by: Nikita 'webconn' Maslov <wkernelteam@gmail.com>
tmgr: Fix unnecessary config in kcnf

Remove Mode of Operation config entry.

Signed-off-by: Nikita 'webconn' Maslov <wkernelteam@gmail.com>
tmgr: Fix queue operation and remove tmgr_set_fq()

Now queue works more correct. Also, tmgr_set_fq() functions
removed (you still need to set system timer frequency in menuconfig
(see docs)

Signed-off-by: Nikita 'webconn' Maslov <wkernelteam@gmail.com>
Merge pull request #39 from nekromant/tmgr_fix

tmgr library fix (now need testing)