some improvement in the random functions in util.c
provided a way to call astart_main without defining main
two changes in app_util: use /dev/urandom, and provide a way to call astart as a function
fixed the extern declaration for xchat_init in xcommon.h
added errno.h to app_util.c and log.h to generate.c
Merge branch 'master' into voice-over-allnet