Merge pull request #30 from ledgersmb/master

sync over master branch
Fix date format incompatibilities due to Dojo widget submitting iso8601
formatted dates -- which old code handled poorly; working around that.
Merge pull request #161 from ehuelsmann/master

Fix date format incompatibilities due to Dojo widget submitting iso8601 dates
Merge pull request #33 from ledgersmb/master

sync over master branch
Add tool to run patch upgrades from the command line (instead of running setup.pl).
Merge pull request #164 from ehuelsmann/master-cmdline-upgrade

Master: cmdline upgrade patch releases
Merge pull request #37 from ledgersmb/master

sync over master branch
Factor duplicated code into shared code.
Resolve copy/pasto after moving code to Database.pm.
Merge pull request #170 from ehuelsmann/master

Factor out duplicated code from setup.pm and patch-release-upgrade.pl
Merge pull request #169 from einhverfr/master

COGS/mfg fixes
Merge pull request #172 from einhverfr/master

Refactoring mfg lot material for better mfg support later
Merge pull request #28 from ledgersmb/master

bringing up to date