Fetch all tags befor mvn, cpp and cppwrap builds

Since Travis clones the repository with a default depth of 50, builds using a
tag can fail. This commit should fix failures by fetching all Git tags.
Add differential beahvior between FreeBSD and GNU versions of sed
Add logic to handle FreeBSD and GNU sed differently

Also allow the date to default to the current year
Fix single year copyright edition
Do not replace single year copyright with current year
Fix GNU version of the script
Improve failure message and description of dist target

This commit should clarify the fact that the ant dist target is expected to be
run from Bio-Formats as a submodule of openmicroscopy.git
Merge pull request #1476 from sbesson/ant_dist_improvements

Improve failure message and description of dist target
Merge pull request #1474 from sbesson/rebased/develop/rebased/dev_5_0/copyright_tools

Add bash script for updating copyright headers (rebased onto dev_5_0) (rebased onto develop)
merge develop -Dnone -Ibreaking -Eexclude -Ssuccess-only

Repository: openmicroscopy/bioformats
Excluded PRs:
  # PR 1458 sbesson 'Fix Javadocs warnings' (user: sbesson)
  # PR 1478 rleigh-dundee 'C++: Add helpers for XML serialisation' (user: rleigh-dundee)
  # PR 1473 rleigh-dundee 'C++: Minor documentation and whitespace fixes' (user: rleigh-dundee)
  # PR 1015 qidane 'Messy binary' (exclude comment)
  # PR 1309 melissalinkert 'Allow tile-based access of large JPEG-2000 images' (exclude comment)
  # PR 1477 melissalinkert 'Flex: improved metadata handling' (user: melissalinkert)
  # PR 1443 joshmoore 'Genshi ZIP' (user: joshmoore)
  # PR 1471 jburel 'mock object' (user: jburel)
  # PR 1479 qidane 'Updated XSLT for units conversion' (exclude comment)
  # PR 1426 qidane 'Initial Rendering Definitions schema' (exclude comment)
  # PR 1161 sommerc 'Initial CellH5 Reader class' (user: sommerc)
  # PR 1461 csachs 'Changed ND2 metadata string handling to work properly with empty strings' (user: csachs)
  # PR 1472 rleigh-dundee 'cpp: compat: Add boolean type' (user: rleigh-dundee)
  # PR 857 melissalinkert 'Initial support for Zeiss .lms files' (user: melissalinkert)
  # PR 858 melissalinkert 'Initial support for Veeco AFM data' (user: melissalinkert)
  # PR 1407 melissalinkert 'TIFF: fix plane count calculation for pyramids with multiple planes' (user: melissalinkert)
  # PR 1442 bramalingam 'Update roi handler' (user: bramalingam)
  # PR 1177 rleigh-dundee 'specification: Add metadata for HDF5 embedding' (exclude comment)
  # PR 1381 melissalinkert 'Parse physical pixel sizes from CellSens .vsi datasets' (user: melissalinkert)
Updating c3521e7..9d04014
Previously merged:
  # PR 1474 sbesson 'Add bash script for updating copyright headers (rebased onto dev_5_0) (rebased onto develop)'
  # PR 1476 sbesson 'Improve failure message and description of dist target'
  # PR 1420 qidane 'Updating samples and adding units samples'
  # PR 1460 rleigh-dundee 'C++: Implement MetadataConverter'
  # PR 1465 melissalinkert 'NDPI: fix tile offset adjustment for files larger than 4GB'
  # PR 1457 melissalinkert 'IM3: fix memoization and whitespace'
  # PR 1468 rleigh-dundee 'C++: binary build and showinf fixes'
  # PR 1469 rleigh-dundee 'cpp: bioformats: Correct placement of warning pragmas in PixelProperties'
  # PR 1467 rleigh-dundee 'cmake: Replace FindXerces with FindXercesC'
  # PR 1459 jburel 'Fix writing of tiff description'
  # PR 1462 sbesson 'Add bash script for updating copyright headers'
  # PR 1463 sbesson 'Add script to bump version numbers'
  # PR 1365 ctrueden 'PrairieView 5.2 fixes and improvements'
  # PR 1437 stelfrich 'Changed handling of empty series names in ND2 files'
  # PR 1456 mtbc 'add note about using mvn eclipse:eclipse'
  # PR 1454 rleigh-dundee 'C++: Autoload schema catalogues and set up environment for tests'
  # PR 1366 ctrueden 'Miscellaneous cleanup'
  # PR 1452 joshmoore 'Use __import__ for generateDS to handle FS case issues'
  # PR 1448 melissalinkert 'Metamorph: allow both sanitized and unsanitized delimiters'
  # PR 1455 sbesson 'Remove source code hyperlinks from Java source files'
  # PR 1453 jburel 'Fix mock object to match changes from int to double for channel'

Generated by OME-5.1-breaking-push#227 (http://ci.openmicroscopy.org/job/OME-5.1-breaking-push/227/)