Adding parameter-based ability to resolve expressions via management API and CLI commands

https://issues.jboss.org/browse/WFLY-1069
There is a problem here. You shouldn't rely on tab-completion to initialize a variable that you can later use in doHandle(...). There is no guarantee the tab-completion will be triggered at all. Think about non-interactive scripts. Or users that simply don't use it at all or in some cases do and in some cases don't.
Anyway, arguments specified on the command line are verified by the CLI. In case some arguments are not recognized or not allowed, the error should be displayed to the user. There is a method that can be overriden, it's called recognizeArguments(...). It's called before doHandle(...). I think that would be a good place to check whether the resolve argument is allowed or not for the target resource. But I would avoid caching any info in an instance variable.