add ArchivalUrlRequestParser test to make sure it’s not URL-decoding URL part (re WWM-110).
FIX ArchivalUrlRequestParserTest broken in previous commit 03ae3fee (WaybackRequest#setRequestUrl() prepends “http://“ to non-full URL.)
Clean up, add javadoc to code around DupeTimestampBestStatusFilter class.
add junit to wayback-cdx-server subproject
Add a test for DumpTimestampBestStatusFilter.
(add EasyMock 2.5.1 as dependency)
Add DupeTimestampLastBestStatusFilter for timestamp-collapsing to the last best capture, and tests.
Add collapseToLast flag to CDXServer to activate it.
Fix for https://webarchive.jira.com/browse/ARI-4024
Merge pull request #39 from vonrosen/ari-4024

Fix for https://webarchive.jira.com/browse/ARI-4024
Add mime-type detection to SelectorReplayDispatcher,
Implement SimpleMimeTypeDetector (experimental, needs more tests with real-workd examples).
Add test case for catching ARI-3934: handleReplay throws BetterRequestException instead of ResourceNotAvailableExcpetion when the original for revisit is not found.
(test fails)
CLEANUP: around closest computation, redirect and Memento headers. 
re-formatting, removing trailing spaces, adding comments, dropping exceptions not thrown. no material code changes.
BUGFIX: stop throwing BetterRequestException from ReplayDispatcher.getClosest(), which can cause redirect loop if revisited original is missing in the index.
check if retrieved capture is in fact a revisited original before returning it from AccessPoint.retrievePayloadForIdenticalContentRevisit()
ref: ARI-3934.
(old code remains as comment. work-in-progress).
CLEANUP: WaybackException classes. code format and javadoc changes only.
Update Memento-related tests in AccessPointTest based on better understanding of Memento Spec and WB implementation.
Reorganize code for writing Memento headers.
Introduce BetterReplayRequestException for redirecting replay requests specifically. Avoid repeated response header updates in multiple places.
CLEANUP reformat code, add javadoc. no other code changes.
Implement soft-block feature.
  refactor handleReplay() with new ReplayCaptureSelector.
  add two tests for soft-block to AccessPointTest.
  other cleanups in AccessPointTest.
  CaptureSearchResults: add a method for checking robots flags with char
FIX fails to recognize MIDI-magic
add FLV and LZH magics.
precompile regular expressions.
add main() to SimpleMimeTypeDetectorTest for mass-test
(work-in-progress)
clean up and document CDXWriter classes.
Add revisit resolution test to EmbeddedCDXServerIndex.