Unit test scaffold

This adds a phpunit testing framework as per https://github.com/wp-cli/wp-cli/wiki/Plugin-Unit-Tests

A whole heap of warnings thrown when running phpunit, but the sample test passes. No real tests yet, this PR mostly for discussion :)