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
Removed forgotten TODOs
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/client' into server-impl
Changed Hibernate Search mappings
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)
Fixed saving of processed document after change in aliasTableDAO.findAllAliasesOfObject
Changed lucene mappings
Moved Hibernate search index reloading
Fixed bug with updating Lucene indexes in Hibernate Search
Merge remote-tracking branch 'remotes/origin/client' into server-impl
fix some minor errors

Trouble adjusting Adam sentences, they are all fine anyway:)
Renamed ObjectTable.isRootObject to ObjectTable.isRoot due to collision with ObjectTable.getRootObject
Fixed getProblems and problem checking behavior
Merge remote-tracking branch 'remotes/origin/server-impl'
JavaML description & check

I have read through the document, but the error was not found! viva
Relation Occurrence can now handle relations without anchors