Put resource hierarchy in OML metadata table

Upon resource creation, records what created what.

refs #1839