Fixing attribute mappings in ProjectBundle

This PR fixes some issues that we were experiencing with `AbstractAttribute` and `AbstractAttributeValue` descendants not implementing the single table inheritance correctly.