Duplicate loci-legacy tests from scifio-devel

As loci-legacy currently mirrors scifio-devel, all the tests from
scifio-devel are appropriate to run from loci-legacy (under the correct
packages).

These tests should simply delegate to the scifio-devel classes, and will
help to ensure backwards compatibility.
DependencyException now extends instead of wraps

The loci.common.serivces DependencyException now extends its target.
Updated throw statements as appropriate.
Added necessary jars to SCIFIO build.properties

Several targets in the SCIFIO build.properties were missing necessary
jars (e.g. for logging, or for scifio-devel/loci-legacy dependencies)
Fixed ant test targets

The SCIFIO, SCIFIO-devel and Loci-legacy components all had ant test
targets pointing to "component.test".

Instead, the correct pattern is to define a "test" target in each
component's build.xml and invoke that from the top-level ant target.

The "test" targets were already defined but never correctly invoked.
This has been fixed.
Fixed loci-legacy test targets

The loci-legacy tests now correctly mimic the original loci-common tests
- using the testng template defined.

Previously they were incorrectly mimicing the scifio style of tests.
Refactored common->legacy .xml/properties

As the common component no longer exists, the associated .xml and
.properties files in the toplevel ant directory have been renamed
"legacy.xml" and "legacy.properties"
Updated scifio-devel unit tests

Added the appropriate test target and properties to build.xml and
build.properties respectively.

Updated loci.common -> ome.scifio packages for tests in
testng-template.xml
Location bug fixes

Fixed two issues in loci-legacy:loci.common.Location

One constructor wasn't properly instantiating its delegation target.

Added a null check to the listFiles() method.
Added surefire configuration to poms

The loci-legacy and corresponding scifio-devel pom.xml files were
lacking configuration of the maven surefire plugin for testing.

This configuration has been fixed, pointing to the appropriate
testng-template.xml
Removed protected delegation from Abstract layer

AbstractNIOHandle and AbstractService no longer delegate their protected
method functionality.

This is a tradeoff of code duplication and backwards compatibility. If
there was a downstream extension of loci.common AbstractNIOHandle, for
example, that did not have a corresponding ome.scifio version, it would
not be able to instantiate the ome.scifio AbstractNIOHandle for
delegation and thus the protected methods would be inaccessible.
Removed ome.scifio.services package

All functionality in the ome.scifio.services package will remain in
loci-legacy.

There are no services implementations within the loci-legacy package
itself, so no implementation has been converted to an ome.scifio
package, so there is nothing to delegate to in terms of concrete
implementation.

Thus instead of introducing unnecessary complexity, the implementation
will remain intact.

When a loci.formats service implementation is converted to scifio, a new
methodology (using sezpoz) will be employed, so any delegation can occur
at that time.
Specified surefire plugin configuration in scifio

The SCIFIO pom.xml now specifies its surefire plugin configuration,
specifically the testng.xml to use. This ensures the missing library
tests will all pass in the maven tests.
Moved sixteenbitlossless to bottom of testng.xml

The potentially troublesome 16bitlossslessjpeg2000 test was moved to the
bottom of the testng.xml, to attempt to ensure it will be run last (as
it may cause memory fragmentation).

Note that this will be accomplished when running the tests directly via
testng. However, ant and maven seem to order their tests differently, on
the principle that unit tests should be independent (which technically
the tests themselves are. The ordering being exclusively due to memory
issues).