Don't try and build symbols that don't exist
provide cleanup hooks for platform code
Fix symbols bug in contiki submodule
rtimer stubs are _required_ to build

I removed this because they weren't finished, but it doesn't even build
without stubs :(