fixed problems with joined inheritance and composite keys

SchemaTool now creates all Id columns not just only the first one.
Insert statement for child entity now contains parameter for additional key columns only once.
inheritance with composite keys

added tests for single table inheritance
Adding EntityManagerDecorator base class as an extension point for EntityManager
indexby metadata column
missing new line
Fix DDC-2409
indexby ddc117 tests
no lang
cascade remove persist on links
[DBAL-483] Pass default values to DBAL mapping layer correctly to fix default comparision bug.
Merge branch 'DBAL-483'
Merge pull request #655 from FabioBatSilva/DDC-2409

[DDC-2409] Fix merge association STATE_NEW
Simplify condition of previous commit (5cdc73e)
[DDC-2106] Fix entity as parameter value when its managed but not yet with identifier.
Merge branch 'DDC-2106'
[DDC-1984] Throw exception if passing null into UnitOfWork#lock() - which can happen when EntityManager#find() tries to lock entity that was just deleted by another process.
Merge branch 'DDC-1984'
[DDC-1998] Pass types to Connection#delete() to allow custom conversions to happen.
Merge branch 'DDC-1998'
[DDC-2136] Fix exporting to YAML and XML with assocation keys.