Documentation and cosmetic changes for order database classes.
Merge branch 'dev-layersql' into dev