tests: relax timer tests in order to avoid false failures.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
config: allow user to also define BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG on a global level

If the user includes posix time headers himself, he'll need to define
BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG in order to enable these features
for our code as well.

Alternatively, we could modify the RTT code to work in both cases, if this is possible.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
scripting: fix bug where SM was installing synchronous operation callbacks

this->getEngine() is still null when building the SM, so the intent
of the code never happened.
Added extra argument to createEventTransition to get the target EE
where this SM wil run in, such that an asynchronous callback is
created.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
os: also cleanup the TypeInfoRepository in __os_exit

When parts of the TIR use TLSF, the TIR would be cleaned up after
the TLSF cleanup, causing asserts / segfaults.
fixes #49 on github

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
revert the removal of the GlobalEngine bookkeeping. This belongs in another patch

This reverts one hunk of commit 00e748c5498865d210074d6fd618fca49941d355.
revert change caused by commit 2c7c2c8e until we have a solution.

This reverts the behavior of getNSecs so to always return rtos_get_time_ns(),
like it did before.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>