Merge pull request #177 from flathat/WEFC_Toronto_reports

Again: Request to pull "prodAllLanes for WEFC_Toronto" from WEFC_Toronto_reports
FIXES: default values for batchList columns,
BatchReport handles multiple batch submissions correctly,
SQLManager logs failed PDO prepared statements
CC Update: removes TERMCLEARALL command from the driver, attaches
terminal reset to the end of every transaction. The POS-side
command "termreset" does everything TERMCLEARALL would so there's
no longer a need for the back-and-forth. This specifically addresses
an issue where the transaction's end would sometimes be interrupted by
a message from the terminal. pos2.php is also more aggressively
ajax-y, which seems to help performance in general as well as this
specific issue.
Per-item ordered/arrived checkboxes
Update ItemFlags.php

Bugfix: line 83 change $dbc to $db
Update ItemFlags.php

Change $title and $header from "Product Maintenance" to "Product Flag Maintenance"
Update ItemFlags.php

Fix message: 
'Error: can\' add more flags'
to
'Error: can\'t add more flags'
Merge remote-tracking branch 'origin/master'
32/64 bit fix. Error reporting
BUG: store messages correctly
Support for emailing receipts
FIX: no backslash allowed in comments
Use discountable value specified in special order
Further isolate WFC-specific section
WFC Tender Report w/o using TTG
Modular receipt
From upstream with ItemFlags fixed
FanniePage and config
Ignore the damn query log
ItemFlags fixes

Conflicts:
	fannie/item/ItemFlags.php
	fannie/logs/queries.log