cmake: remove duplicate rpath settings for Apple

Signed-off-by: Ruben Smits <ruben.smits@intermodalics.eu>
Merge pull request #45 from psoetens/master

os: update oro_allocator to be copy-able. Required for newer compilers.
Merge pull request #42 from smits/remove-duplicate-rpaths

cmake: remove duplicate rpath settings for Apple
cmake: Fix OS X RPATH issue with CMake 3.0

CMake 3.0 defaults on RPATH support and in conjunction with a bug
in the system install_name_tool, causes corrupt libraries and
executables.

This sets the RPATH correclty on OS X w/ CMake 3.0, and omits the
explicit RPATH entry for the install path. The install path is
automatically (and silently) added by CMake itself, which was
causing duplicate RPATH entries which excited the bug in
install_name_tool.

Tested on
- OS X 10.8.5 w/ CMake 3.0.0 and XCode 5.1.1
- OS X 10.8.5 w/ CMake 2.8.12 and XCode 5.1.1
- Linux Mint 15 w/ CMake 2.8.12 and gcc/g++ 4.8.2.
Merge pull request #47 from snrkiwi/fix-rpath-on-osx-cmake3

cmake: Fix OS X RPATH issue with CMake 3.0
os: fixed getNSecs which did not return anything meaningful.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
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>