Added a CommandWithTerm Class (Version 2)

Added new subcommands wp user term and wp post term. 

Created a new pull request to follow contribution guide lines. 

Related #1474 
If it's not immediately obvious to you, let's leave it to a follow-up PR.