[5.0] Make use of new resolvingType method

Includes

- More consistent short_array_syntax in Container class
- More method documentation for new methods
- Methods now also added to the Container contract
- Made use of the new $container->resolvingType method to clean up ValidationServiceProvider.
Please do not use a leading slash. Please remove it.