added standard functions, check that an output format has been specified
added unpaid invoice report script for cron job
reworked query2file so that -c and -f switches work for input from files
install xml2json submodule
added absolute paths to appease the cron gods