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.
Merge pull request #1 from keithj/devel

Addition of metadata query program and test suite
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.
Merge pull request #2 from keithj/devel

Autoconf fixes
Drat, commenting doesn't work here. Removed instead
Merge pull request #3 from keithj/devel

Drat, commenting doesn't work here. Removed instead
Enabled both data object and collection queries in the same
invocation.
Merge pull request #4 from keithj/devel

Enabled both data object and collection queries
Added metalist program
Merge pull request #5 from keithj/devel

Added metalist program
Made check optional
Merge pull request #6 from keithj/devel

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