Initialize reserved names and managed entries in the superclass.
Refactor mimetype verification.

Now just raises an exception in one place.
Move container verification into the superclass.
Update the example scripts to the new API.

This should have been done a fair while back.
Merge branch 'next' into rh/dir

* next:
  Update the example scripts to the new API.