Initial executor implementation.

Adds executor, system_executor, get_executor(), post() and dispatch().
Currently system_executor::post() always asserts, as there is no thread pool
implementation.