Make action manager's context object settable on init
Moce context to global scope

The context object is an omnipotent object which has influence on quite
a few subsystems and hence pulls in a lot of dependencies. Putting it in
the global scope is the only sane option here.
Initialize the action manager

We previously forgot this.
Remove old dependencies from test CMakeLists