More refactor, tidy-up, consistency changes and documentation.
Merge branch 'master' of github.com:academe/proj4php