Set primaryController for application

see WoltLab/WCF@e7bfc8814108c5a5dd2ad4d286bbe6a4b3503ca6