Update old Valutec gift card processor to use PaycardTransactions
Use PaycardTransactions for lookups instead of valutec* tables
Use PaycardTransactions for EBT and gift card receipt info
Remove valutec* tables entirely from old Valutec processor. No one
is using it anyway. Mark them deprecated in MercuryGift and make
valid INSERT on PaycardTransactions required.
Code cleanup; same files as previous commits. Separating whitespace
related revisions so diff on actual changes isn't so complex
PaycardTransactions is preferred over valutec* tables in all instances.
Valutec table INSERTs all check first whether the table exists
Those tables are no longer created on install and can be deleted.
Ditto for gcReceiptView.
Flag gift card tender records with paycardTransactionID
Use TransRecord::addRecord instead of calling TransRecord::addItem
directly. The keyed array argument makes it easier to see what is
actually being added.
BUGFIX: column transType should be tranType
CC mods using PaycardTransactions as main lookup table
BUGFIX: correct column alias
Emphasize paper signature slip option via bolding if electronic signature
isn't responding
Remove unreachable code paths on memlist page (if False && ...)
Reformat to match style guidelines
Remove files that have been marked obsolete for a long time
AutoDeposit has long been disabled in favor of putting a PLU in products.deposit
houseCoupons.discountType 'OD' overrides discount
Merge tag '0.9.13-2014-04-30' into posDevelop

0.9.13-2014-04-30 RELEASE NOTES
===============================

POS:
* Sig Capture "thank you" message for more
  responsive feeling terminals
* New API module for mapping variable weight UPCs
  to products.upc records
* Bugfix to reduce overwrites on memberID
* QuickMenus options specified by QuickLookups table
  in addition to old file-based method
* Tare weight prompt plugin (by @roberski)
* Monitor all lane=>server table copies and trigger
  standalone mode if any of them fail
* Enforce houseCoupon usage limits including current day
* Add starting date to house coupons
* Auto column on houseCoupons so it can be used in addition
  to or instead of a dedicated autoCoupons table
* Use products.formatted_name if present
* Use products.line_item_discountable to restrict line
  item discount usage by item
* Use standardized javascript for key events on
  <select> boxes for FF 23+ compatibility
* NewMagellan driver module for writing TCP streamed info
  to the parallel port
* PaycardsTransaction table to write unified records
  instead of having 3 efsnet tables and 3 valutec tables.
  Old tables are still written as well.
* Support for alternate labels on charge slips (by @flathat)

Fannie:
* Revisions and improvements to FannieReportPage contributed
  by @flathat
* Autolink report rows to reprint receipts
* FannieReportPage::format() method for adding markup separately
  from the fetch data stage or the render output stage
* Some basic unit testing to checkout for syntax errors and
  other major problems
* Search receipts for refunds & discounts
* New products field for brand, default vendor, line item discount,
  and an alternate/revised/formatted name. Edits on brand and vendor
  update both products and prodExtra. The latter will be deprecated
  in a future release.
* Write PHP errors to fannie/logs/php-errors.log similar to how POS
  does separate query and PHP logging
* Added transaction/commit/rollback support in SQLManager
* New stores table containing information about how to connect to
  other store databases. Editable via Fannie install/config pages.
  Pulling task adds a remote store's transaction records to the
  local store's transaction records. API functions to filter
  queries by store_id and present store drop-down option on reports.
* Finished deprecating SpecialOrderID, SpecialOrderContact,
  SpecialOrderNotes, and SpecialOrderStatus. The newer SpecialOrders
  table is used instead. The four legacy tables are still updated
  if present but are no longer created on a new install and can
  be safely deleted if all data has been migrated to SpecialOrders.
* FannieDispatch::go() updated to behave the same as
  FannieDispatch::conditionalExec()
Incorrect class name on NoDiscOnSalesPM
BUGFIX: wrong form name
Document fields in Database::getsubtotals()
Trigger event on terminal ACK to interleave messages to and from the
device. Doesn't really make a difference on linux. ACKs come in a
big burst rather than after each individual write to the device.