Remove direct access checks

Issue: https://github.com/kohana/core/issues/508
this changes means that we will end up with a .php file that does not contain any PHP code