Allow subclassing an existing P5 object.

Sometimes we have already an instance of the P5 class (e.g. a Catalyst
controller) that we want to subclass in P6. So allow passing the parent
to the constructor instead of insisting in creating a new object there.