Better 'version' support for `wp [plugin|theme] update`.

See #1488.
fix incorrect param for chmod
Merge #1513
Merge pull request #1512 from miya0001/fix-permission-install-wp-tests

Fix incorrect parameter for `$wp_filesystem->chmod()`
Debian package builder
fix incorrect param for chmod
Update version numbers to fix failing tests
Properly sort WordPress versions

`version_compare()` can return `-1` or `0`, both of which are falsy.
This caused inconsistent results when the WordPress API started
returning versions out of order
Behat test for `wp plugin update --version`.

See #1510.
Behat test for `wp theme update --version`.

See #1510.
Merge pull request #1510 from boonebgorges/1488-update-version

Better 'version' support for `wp [plugin|theme] update`.