Use abstract decorators in CommandLine class.
This ensures the name property and register_nouns method are implemented.

Reviewed at https://reviews.apache.org/r/28696/