update command line argument parsing

This updates CLI argument parsing code (re #70), by making use of the [nomnom](https://github.com/harthur/nomnom) library. I couldn't find a list of options that are accepted, but this seemed like a good start towards cleaner option handling. 

WIP