Support PassByReference parameter and add ConstructorPassByReferenceArgumentTest

Also add for easier usage:
- BaseContainer implements ContainerInterface
- BaseResolver implements ResolverInterface