DocumentTableDAO.findAllProcessedDocuments(bool)

returns all processed or unprocessed documents
DB schema change preparation
Merge remote-tracking branch 'origin/db-hibernate2' into db-hibernate2

Conflicts:
	Data/src/main/java/cz/cuni/mff/ufal/textan/data/repositories/dao/DocumentTableDAO.java
	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/ObjectTable.java
	Data/src/main/resources/mappings/ObjectTable.hbm.xml
merge correction
merge correction vol 2
FindAll for objects supports JoinedObjects

Walk around through comparing id and id of root object which is the same
for roots :+1:
Fixed incompatibility with Gradle 2.0 in server build file
global version increase per transaction
global version per transaction

Not per flush
Interface of global versions for relations and joined objects
Global version for relations and joined objects

With DAO implementations
Joined objects support in ObjectTableDAO

+ refactoring
Merge remote-tracking branch 'origin/master' into server-impl
Merge remote-tracking branch 'origin/db-hibernate2' into server-impl
GlobalVersionDAO interface
GlobalVersionDAO Implementation

basic test included
Get Graph from relation interface
Get Graph from relation implementation

Not tested at all
Added operation getDocumentsContainingRelationById into DataProvider
Renamed operation getGraphById to getGraphByObjectId and added operation getGraphByRelationId (without connection to db)