[WIP] Added PHPCR purge

This PR provides `purgeRepository` as an analagous method to the ORM DBManagers new `purgeDatabase` method.

Note I havn't tested this yet. So it should not be merged.