Make copyright / license consistent.

And add defined or die where missing.

Admin php files in this PR.