Changed MySQL dialect to MySQL5 dialect and added info about hbm2ddl.auto