Fixed problems with latin2 encoding due to changes in htmlspecialchars() behaviour in newer php versions.
Fixed Quote Valid Days in System and GL Setup, Setup tab.
Extended email entries.
Removed redundant indexes on cust_branch & supp_trans tables
Removed redundant index on supp_trans.type.
Reverting last last two commits mistakenly pushed to stable branch.
Add .gitignore
feature/BankTransferEdit Implemented Bank Transfer Edit feature.

- Added bank transfer edit feature.  Implemented by voiding the existing transfer
followed by adding a new transfer with possibly modified data.

- Add edit link to bank inquiry view.

- Ensure that voided transactions do not display in bank inquiry view.

- Ensure that edit's affecting cash accounts cannot result in a future -ve balance.

- Ensure that voiding the initial transaction does not result in the destination
account exceeding the limits for that account (usually -ve).
Fix stop mysql_connect issuing deprecated warning.
Removed 'cache' static from get_company_prefs

- This prevents unit tests from working, which will load a fresh global
  context within the same php script run.
Log all error messages when debug is enabled.
Fix undefined index warning in JsHttpRequest.php
feature/BankTransferEdit Fixed several issues with bank transfer:

- Ensure that get_bank_trans_for_bank_account returns all non void
  transactions.
- check_bank_account_history can now handle a 'balance_offset' representing
  the change to the balance that a void would make.
- check_bank_account_history now returns the correct amount when
  the proposed delta results in a negative balance in the account.
- check_bank_transfer now explicitly considers the four accounts
  affected by the transfer.
- Fixed the validation of new transfers and edited transfers.