Fix issue #1085: Draft search ignores discounts.

Note: the actual error isn't _NOT_ showing discounts (the transactions
  are posted with the discounts applied), but rather double counting
  (and a test-case where the discount is 50%).
Merge pull request #12 from ledgersmb/master

Pull assembly stock recording
Merge pull request #69 from ehuelsmann/master

Fix #1085: Draft searches not showing discounts.