Improve ledger-report-redo buffer type checking.
Merge commit '689112d3c0ffeb895ad4d8b9f61b50c5f537f0ed'
add test for --dc
added test for alternatives of --gain , i.e --change and -G
add alternative for --head , i.e --first
add tests for --detail and --rich-data
add test for --date expr
add test for alternative of tail, i.e last
add test for --immediate
add test for --time-report
add test for --time-colon
add test for --datetime-format
fixed --rich-data test
Fix minor whitespace issues
Define payees to get rid of trailing whitespace
Rename test since the equity command is being tested, not the option
add balance Test constructors
added  balance addition unit test
added boost subtraction unit test
add Equality unit test for balance