Add OptionParser wrapper that takes CommandLineConstants

Couldn’t resolve to move duplicated code into core and add scopt del
there
Merge pull request #1933 from excilys/cli-opt

App: Add OptionParser wrapper that takes CommandLineConstants