moving away from static imports to mockable/testable service objects
fixing a bug in Datastream not to assign mixins to existing nodes; porting ObjectService changes to remaining modules; IT passing
example unit test, with a mocking helper to support continued JCR interactions at API level
Merge pull request #41 from futures/unit-testing

Unit testing
initial fcrepo-metrics commit
calculate object size from the jcr index
use the new, on-demand repository calculation.
Cleaned out unused imports, minor factoring in Datastream
Killed more unused imports, also changed FixityResult to use enum/enumset for fixity status
Killed use of deprecated StringBufferInputStream for no more warnings, yay.
Small refactorings of loops in fcrepo-kernel and moving literal strings into constants
start the polling reporter; hard-code the graphite reports for now
unit testing fcrepo-http-api/org.fcrepo.api.FedoraDatastreams
unit testing FedoraObjects
Small factor in o.f.identifiers to insert abstract class, cleaned up unused imports
More cleanup: corrected use of try/finally in FedoraDatastreams
Switched JAX-RS methods to use ServiceHelpers code
simple unit tests for FedoraFieldSearch