REEF-34: Add convencience methods for command line parsing

This addresses [REEF-34](https://issues.apache.org/jira/browse/REEF-34) and adds the two methods mentioned.
Any test code?