Merge better WP-CLI error handling to develop branch

Re-add connection check to WP-CLI commands.

Provides better error handling.