Added library system with -l, -L, and JQ_LIBRARY_PATH

Created util.[ch] to hold common utilities.
Rename jq_memmem() to _jq_memmem()
Do fix remaining bison warning (fix #433)