Backport r6322: Prevent outgoing mail from being classified as SPAM
  due to wrong envelope sender; rather overrule envelope sender with
  From field value.
Make prepare-company-database.pl work (better) with PostgreSQL 9.1
(and a bit more user-friendly by checking available extensions
 instead of failing silently).
In 1.3, reduce the number of warnings/errors in the logs
by checking the query has any chance of succeeding at all.
Removing check for LedgerSMB base object.  This was previously required before we moved a lot of stuff to App_State but with the current set-up it does more harm than good, and it keeps a lot of backported addons from working out of the box.
Undoing accidental commit of addon
Removing check for LedgerSMB base object.  This was previously required before we moved a lot of stuff to App_State but with the current set-up it does more harm than good, and it keeps a lot of backported addons from working out of the box.
Fixing 864, manually entered tax amount ignored printing invoice, merged from trunk
Correcting draft deletion of journal entries.
Merging 'To pay' vs 'Received' fix from trunk
Moving this definition behind its referenced function, otherwise this function only will be created when running setup.pl second time: CREATE OR REPLACE FUNCTION eoy__reopen_books_at(in_reopen_date date)
Add a sample Nginx+fcgiwrap configuration to the contrib directory. It is handy for those, who would like to run ledgersmb on nginx webserver. Anyway, just google for nginx + fcgiwrap + perl for more up to date documents.
Fixing Company->get_metadata() and Setting->get() so that they work better with addons
Removing debugging lines in Setting->get()
Correcting errors when some addons are installed, that setup.pl errors after adding user.
Version number changes for 1.3.36
Fix for bug #903 - Cannot delete warehouse. New role and permission added for delete, so, if a user has no rights to delete, he/she will not able to delete an existing warehouse. Please note: I did not find trigger for deleting warehouse - which enable or disable the delete based on items in that warehouse - , so, I cannot predict at this moment, what happens if there are items in the specified warehouse. Delete is useful when one build up a warehouse system but accidentaly setup more than enough or want to wipe out never-used-warehouses. In other words, it could be handy on system setup.
Corrects copy to new behavior, but update still broken.
Fixes deleting ar vouchers in batch delete
Undoing accidental commit of upgrade script.
Full fix for 923, still to document implications
Updating release notes for fix for 923