Basic support for InlineAdmins

A very basic change that moves most of the reusable admin stuff into a mixin and adds inline admins. This is very basic but both changes might come in handy for someone.