Define LibraryAuthor schema for testing
Allow ref fields to cascade deletions

Note that in order to use this parent name has to be defined at the ref.
Perhaps it is possible to clean this up somehow.

Closes #3.