Added template settings.
Set template settings as container parameters.
Fixed wrong template config mapping and added missing template engine
extension for base layout.
Made the templates extend the template configured in the config.

fos_user:
    template:
        base_layout:          FOSUserBundle::layout.html