Added a basic command line parser letting you set some output options

@jimallman I'm not sure if shoving all the arguments at the top of the file is the right Python-y thing to do, so if you'd like me to move it into a separate function, let me know!