Fix silverstripe/cms#776 - Change how batch_permission_check works

Will now check stage one after the other, rather than both at once.

Conflicts:
	core/model/SiteTree.php
Merge pull request #3326 from ss23/774_infinite_loop

Fix silverstripe/cms#776 - Change how batch_permission_check works