#386 Used random names for entity id's
#386 Added wrapping script which can create db for test Doctrine script
#386 Simplified relation notation
#386 Removed useless duplicate properties for entity/revision which also tend to mess up the relation to entityId