Hibernate full support. Test Main(s) creations.

Now the hibernate support is complete. It generates the xml files
required (but no the associations). Now generates main for a test main
for dao, jdbc and hibernate.