Added ER diagram and related code (see redmine #2169).
Merge branch 'phenolphtalein-schemaspy' (from pull request #54).