Added the function providers as container resources

Changing the way an expression is compiled should invalidate the
container, so that the change is taken into account.
bug #13035 Added the function providers as container resources (stof)

This PR was merged into the 2.6 branch.

Discussion
----------

Added the function providers as container resources

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Changing the way an expression is compiled should invalidate the container, so that the change is taken into account.

Commits
-------

513ebff Added the function providers as container resources