add test for --completions flag
move completions flag to 'cli' command
Merge pull request #557 from wp-cli/fix-completions

Completions are broken