Added basic metadata addition and query

Added test suite

Added JSON output from queries
Added installation notes
Added missing definition
Corrected instructions
Enabled make check by default

I can't get this to work properly on OSX because aclocal is not
finding check.m4, even though I have added the aclocal path used by
Homebrew to aclocal's search path.
Moved AM_INIT_AUTOMAKE to precede AC_PROG_CC to avoid a bug where the
'missing' script is reported as "too old or missing".
Commented out extra path for OSX because it causes failures on other
platforms.
Drat, commenting doesn't work here. Removed instead
Enabled both data object and collection queries in the same
invocation.
Added metalist program
Made check optional
Use a function to get operation names

Declare print_json
Merge branch 'devel' of github.com:keithj/baton into devel
Completed initial metadata list functions

Refactor of NULL checking
Improved error messages
Added defensive copy of strings passed to dirname and basename

Added json_decref calls to free memory
Refactored JSON representation of collections and data objects
Permit one-line if statements
Housekeeping
Added draft of program to modify metadata from JSON

Refactored JSON-only functions and utilities