Add wp-cli command

Add (optional) WP-CLI support for greater compatibility. Should work without WP-CLI, but allow for WP-CLI invocation if installed.

@scribu does this look good to you?

cc @ghelleks