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.
Address ticket #1145: Qty in search result zero, but OH correct elsewhere.
   The Qty column isn't the On hand column, but can be easily mistaken.
   Putting On hand in the search result by default instead.
Initialize logging system before using it.
Correct Apache2 URI -> script mapping for the rest script.
Comply with 'use strict' coding restrictions.
Multiple fixes:
 - $cgi->self_url() points to the script; which our URLs don't include
 - initialize logger framework to prevent errors from modules trying to use it
 - the URL should be .../rest/... (instead of .../rest-handler.pl/...)
     since we use the former in our template httpd config
Include reference to hard-coded path in configuration file.
Rename rest handler class to get all-lower-case URLs.

--HG--
rename : LedgerSMB/REST_Class/Contact.pm => LedgerSMB/REST_Class/contact.pm
Class rename required due to file rename.
Merge pull request #71 from ehuelsmann/master

Fix #1185 and REST api handler(s)
Only issue a password change request from JS if the password
fields have been filled out.
Revert accidental commit of CSS changes.
Merge pull request #72 from ehuelsmann/master

Resolve #1147: Need to enter password when changing preferences
Fix #1150: User preference language dropdown not working.
Merge
Remove debugging statement.
Merge pull request #74 from ehuelsmann/master

Fix #1150: User preference language dropdown not working.
Fix import of AR/AP transaction batches.