added version.php and internal check to auth.php
Merge pull request #2 from t6nis/master

version.php file + "moodle internal" check