Added support for the BES modules build.
Added jp2 testsuite to gitignore
Added module name and version info to Makefile.am

This change was made to support the modules build where the autoconf
symbols PACKAGE_NAME and _MODULE are defined by the bes configure
script. This meant that the version response from the bes was useless
since it listed every module as 'bes' and gave the bes' version
number.
Fixed tests after module branch merge