Doctrine conversion for publisher

Most functions moved to doctrine
Fixes to system module and core for issues discovered while testing
Some PSR-2 changes
Move to .tpl template names
Fix GPL links

More is needed, but this is a start
Additional conversions, fixes and updates.

The import routines have not been converted, but everything else should be off of legacy code. Added basic asset management, and other new standards.
Fix a few issues noted by scrutinizer
Some doc fixes suggested by scrutinizer
Some documentation fixes suggested by scrutinizer
Revert a stupid suggestion that slipped through, and a small fix
Remove null default for criteria in deleteAll() and updateAll() as discussed in #151

This makes the criteria argument required. To delete or update all rows, an always true criteria must be specified.
Fix issues with deleting private messages

Enabling Protector id_forceintval option mangled array of ids to be deleted. Issue found and corrected in 2.5.7, same fix applied here.
adding language definitions for SoundCloud
Merge pull request #155 from mambax7/master

adding language definitions for SoundCloud
Merge pull request #150 from geekwright/publisher

Doctrine conversion for publisher
Merge pull request #152 from geekwright/scrutinizer

Some documentation fixes suggested by scrutinizer
Merge pull request #153 from geekwright/xpoh151

Remove null default for criteria in deleteAll() and updateAll()
Merge pull request #154 from geekwright/pmdelfix

Fix issues with deleting private messages
Fix a few cases of 'null' criteria passed to updateAll() and deleteAll()
Merge pull request #156 from geekwright/nullcriteria

Fix a few cases of 'null' criteria passed to updateAll() and deleteAll()
merge with master
add missing file