better exception messages
ContainerBuilder::resolveEntityClass() checks whether factory is callable (fixes 8466b92)
Compiler: fixed inheritance [Closes #6]