HHH-9281 : Table name generated for @ElementCollection uses owning entity class name instead of mapped entity name

(cherry picked from commit ccffe0dea9d9d4aae05ffaaa9239ff5ac5b3346a)

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/annotations/collectionelement/CollectionElementTest.java
HHH-5811 : Flush causes update query on field of type Byte[]

(cherry picked from commit 4007655045711ddf89925c76310f31f81530dfa6)
HHH-8310 : Lob proxy class loading problem

(cherry picked from commit 365bfe99d857b7fa62108cff05fba28a5fb7b7e6)
HHH-9282 : Revert HHH-9222 on master
HHH-9285 Upgrade to Hibernate Commons Annotations version 4.0.5.Final
HHH-9288 Restore removed method ServiceRegistryBuilder#buildServiceRegistry used by Tools