move a hack for jansson 2.4 to which jansson is actually used.
do not call KCN and google database initialization in order to separate
google database module from a main KCN library.
instal some headers.
fix the typo that might cause build or runtime link failures.
separate google database library.
accept -h command line option.
cosmetic change.
check to see if a database directory exists or not.
do not allocate memory for database name to make error handlings easier.
add a runtime library search path if necessary.