Removes error state from CommandLine and moves it to a return value of parse()

Uses the multiple return values feature of Swift to decouple error state from the CommandLine class.