Patches issue with SQLCE MAX sql call
Patches broken test
#M-381 Fixed
Merge pull request #845 from rustyswayne/1.4.0-lists

SQL CE query fix, patched broken test and added AddItem/RemoveItem to SalePreparationBase.