command line mode

Added the option to run calibu in command line mode.
The above introduces some code duplication, I believe this is an acceptable alternative to rewriting the main body of calibgrid.