continued to move license out of files and fix up php docs and remove trailing ?> in code base