Bookshelf plugin for virtuals

Ok, here is the virtuals functionality wrapped as plugin.