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 
> What do you think?

Seems fine.

> Should I change the tests as well?

Yep.