Move global encoding functions to class file
move custom date functions to class file
move pm functions to class file
move misc functions to class file
fix some bugs from replacing global calls with statics
move posting functions to class file
html5 fixes
Merge branch 'PHP-Outburst-develop' into develop
Merge branch 'rwchhs-develop' into develop