Install and configure Nelmio SecurityBundle.
Upgrade to QA tools 1.1.27.
Replace all references to "gateway" by "middleware".
Add SurfnetStepupMiddlewareBundle.