Joining Object support

+ cascade updated
known bugs:
finding in joinedObjectsTable by id does not work for some reason
running tests deletes whole database (because there is test which needs
to delete joined object and it cant be done)
#28
Change the variable name

Change i to test_id.

Why git requires me to commit every single modifications before
synchronize, even if there is no conflict :(
Added latest MoM
global version correction

returns new version
get aliases from all objects joined with it

in AliasTableDAO
Merge remote-tracking branch 'origin/master' into db-hibernate2

Conflicts:
	Data/src/main/java/cz/cuni/mff/ufal/textan/data/repositories/dao/IDocumentTableDAO.java
	Data/src/main/java/cz/cuni/mff/ufal/textan/data/repositories/dao/IRelationTableDAO.java
	Data/src/main/java/cz/cuni/mff/ufal/textan/data/tables/DocumentTable.java
	Data/src/main/java/cz/cuni/mff/ufal/textan/data/tables/RelationTable.java
Merge remote-tracking branch 'origin/db-hibernate2' into server-impl

Conflicts:
	Data/src/main/java/cz/cuni/mff/ufal/textan/data/repositories/dao/IDocumentTableDAO.java
	Data/src/main/java/cz/cuni/mff/ufal/textan/data/tables/AliasTable.java
	Data/src/main/java/cz/cuni/mff/ufal/textan/data/tables/ObjectTypeTable.java
	Data/src/main/java/cz/cuni/mff/ufal/textan/data/tables/RelationTypeTable.java
Added support for joined object in Hibernate Search(lucene) query in ObjectTableDao (inpsired by Venca's solution in HQL)