Fixes for Travis and building
Tweak for phpcs and fixing phpcpd
Updated build to use up-to-date versions of various libraries (copy paste detector, etc)
Minor PSR-2 tweaks