Fixed bugs found in/via publishing.
Merge pull request #177 from xi-project/publishing-fixes

Fixed bugs found in/via publishing.
Merge remote-tracking branch 'origin/master' into 0.10

Conflicts:
	library/Xi/Filelib/Publisher/Publisher.php
Publisher cleanup bettering.
Phpcs fixes and better readme.