rename collections->registry first

Otherwise checks for "does this class exist" fail and any logic based
upon that fails. Case in point `Cake\View\HelperRegistry` is now
detected correctly whereas previously it was added as `App\View..`