Merge pull request #91 from system76/develop

Hotfix v1.0.2c
Merge pull request #93 from system76/develop

Hotfix 1.0.2d
Merge pull request #95 from system76/develop

Hotfix v1.0.2e
Merge pull request #113 from system76/develop

Hotfix v1.0.3
Merge pull request #115 from system76/develop

Hotfix v1.0.3a
Merge pull request #118 from system76/develop

Hotfix v1.0.4
Catch up to system76/beansbooks develop branch.
Overrides for built in Kohana Database functions to ignore mysql warnings until updated to mysqli support.
Merge pull request #3 from funnylookinhat/php5-mysql-updates

Fixes to enable installing BB in newest php5 version until moved to mysqli.
Two changes to prevent deadlocks - only downside is possible calibrations at extremely high load.
Fix for system76/beansbooks#156
Initial working structure for vendor purchases being mutable - pending calibration code.
Refactor for proper journal sorting function.
Sale Calibration.
Updated customer payments to use calibrations - requires testing.
Added Prepaid Purchase Orders and Vendor Purchase Calibrations - Pending Vendor Payment Calibrations and testing.
Cleanup from Customer Calibration changes.
Bugfixes for previous commit.
Bugfixes for Vendor_Payment_Create and Vendor_Purchase_Calibrate_etc
Updated Vendor_Payment calibrations.