Fix Layer#isInserted() for nested Layers.
Implement Project#clear().
Allow creation of items when project has no layers.