Merge pull request #10 from xtuple/master

Catch up.
issue #19550: Fix problem with sale type orm missing system flag. Tweak init script to not have redundant calls.
Merge pull request #53 from jrogelstad/master

issue #19550: Fixes to orm.