[feature/controller] Make portal work with new controller interface

Add the new controller interface for phpBB 3.1 extensions.