Fix use of maybe_null, and return NULL result if any argument is NULL.

Add a Makefile and .gitignore file.
Don't always set const_item for return value, as return is not independent
of inputs.

If input is constant, only parse once and return cached value for
subsequent calls.

Properly return is_null, not error, if determined after init.

Add compile option for debug output.
Add option to return array length if -1 is passed as index.

Add main_test.cc for testing json_get() outside of MySQL.

Add clean target to Makefile.
Merge pull request #5 from teliseo/teliseo.null_fix

Fixed use of maybe_null, and return NULL result if any argument is NULL.
Merge pull request #6 from teliseo/teliseo.array_len

Add option to return array length if -1 is passed as index