Add subcommand completion for :YcmCompleter command

The title says for itself. Also I've done a bit of refactoring to reduce some repeating code in subcommand definitions.