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 #6 from teliseo/teliseo.array_len

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