unnethack 5.1: added curses and lisp graphics options

Added a couple options to support curses graphics and in-emacs play.  Also changed up args generation for modularity.