Inheritance mapping

* SINGLE_TABLE and JOINED, all others throw an exception
* tests: written
* BC: afaik none

uses #46 (thank you, @kibao), closes #3, #52