Add configuration to use automake and libtool.

Replace Makefile.in with Makefile.am in top level and src directory.
Add missing macro calls in configure.ac and move AC_PROG_CC_C99 before
LT_INIT.  Include src/Makefile in AC_CONFIG_FILES.

Tests are not yet implemented in the new automake-based build system.
Remove install-sh copied from automake.

Automake will re-add this file when run with the --install option, so
there is no need to keep it in the repository.  Update Travis
configuration and README.md to include the --install option for all
missing files.
Add automake configuration for include/ directory.

Let automake know about the cintelhex.h header file to be installed.
Migrate tests/ directory to automake.

Add Makefile.am to build test binary and use it for the check target.

The #include'd source files test_*.c must be in EXTRA_DIST because
they cannot be compiled using test_SOURCES, but must be distributed
with the package.  This should be fixed sometime to build separate
object files for each and link them together for the test binary.
Clean up .gitignore files.

Reorder entries, add new files generated by automake / libtool and
split up for each subdirectory.
Clarify README.md regarding autoreconf.

Not only the configure script needs to be regenerated in a Git
checkout, but the whole build system now that we use automake /
libtool.
Avoid target-specific compiler flags in tests/Makefile.am.

Some versions of GNU Automake seem to require an extra autoconf check
when some Makefiles contain target-specific compilation flags (in this
case, -I flag for the tests).  To avoid this extra check, we can just
set the include path flag globally in AM_CPPFLAGS.
Adjust Travis configuration for renamed check target.

The GNU standard target name to run the test suite is "check",
implemented by automake.  Let's stick to this convention...
Reorder program checks in configure.ac.

Add an explicit check for AC_PROG_CC before checking for C99 mode and
move the macros under the correct heading.
Add myself to authors list.
Fix building of static library.

Remove -shared and -fPIC flags from toolchain options, as these are
automatically handled by libtool now.  This will enable actually
building the static library.
Fix path to test resource files.

The tests are now run from the tests/ subdirectory, not from the
top-level, so adjust the file open paths accordingly.
Include test resource files in the distribution.
Make test resource files available in the build tree.

Use AC_CONFIG_LINKS to create symbolic / hard links / copies so the
tests run from within the build tree can access their data files
stored in the source tree.  This fixes failing tests for VPATH builds.
Signal test failures in the return code.

CU_get_error() only checks for internal CUnit error conditions.
However, the build system expects a non-zero return code in case any
test failed, so we now return the number of failed tests.
Use ihex_set_error() in ihex_parse.c.

Align the definition of the IHEX_SET_ERROR*() macros in ihex_parse.c
with the other source files.  Use the common function ihex_set_error()
instead of duplicating the code.
Avoid the variable name "errno".

According to ISO C, the standard "errno" variable may be implemented
as a macro.  This causes conflicts and compiler warnings (e.g. on
MinGW) when used as a function argument or variable name.

To be safe, rename all errno parameters to errnum.  This fixes some
warnings on MinGW.
Merge pull request #26 from acolomb/fix-errno

Fix compiler warnings resulting from invalid "errno" variable name
Merge pull request #23 from acolomb/automake-libtool

Integrate GNU automake and GNU libtool