Fix reloading of additional_permitted_attributes

The additional_permitted_attributes method, which is generated by this
plugin, only worked in production or the first development-request.

Now we insert the additional permitted attributes on every code reload.

This bug was found during: https://www.openproject.org/work_packages/7255