Refactored timeline controller into a posts controller.

Contextual menu is no longer hard coded and is generated automatically from registered actions by type.