showDate: fix inconsistent formatting with GHC 7.8.x

The format string '%C%y' doesn't always return a 4-digit year, but '%0Y' will.
showDateSpan: remove redundant local definition of showDate
hledger.cabal: loosen restriction on 'text < 1.1' to fix build with GHC 7.8.x