Fixed auto-allocation of disk-space also according to the Free space on disk
Moved test into new class
Merge branch 'develop' of https://github.com/orientechnologies/orientdb into develop
Removed println
Merge branch 'develop' of https://github.com/orientechnologies/orientdb into develop
Improved unmarshalling by skipping fields not needed
Auto purge of weak entries in cache.
Issue #2501 was partially fixed (without tests).
fixed missing trimming on record load
Revert "Issue #2501 was partially fixed (without tests)."

This reverts commit 49f551be862b3dbb4c1b4bfc5090cc76f8f4c82d.
Added support for token based authentication supported via a plugin mechanism.

Conflicts:
	core/src/main/java/com/orientechnologies/orient/core/db/ODatabase.java
	core/src/main/java/com/orientechnologies/orient/core/db/raw/ODatabaseRaw.java
	core/src/main/java/com/orientechnologies/orient/core/db/record/ODatabaseRecordAbstract.java
	core/src/main/java/com/orientechnologies/orient/core/metadata/security/OSecurityNull.java
	core/src/main/java/com/orientechnologies/orient/core/metadata/security/OSecurityProxy.java
	core/src/main/java/com/orientechnologies/orient/core/metadata/security/OSecurityShared.java
	object/src/main/java/com/orientechnologies/orient/object/db/OObjectDatabaseTx.java
	server/src/main/java/com/orientechnologies/orient/server/OServer.java
	server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpRequest.java
	server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpUtils.java
	server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/ONetworkProtocolHttpAbstract.java
	server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/command/OServerCommandAuthenticatedDbAbstract.java
Added support for token based authentication supported via a plugin mechanism.
updated to the last version of the user managment, fixed some java8 dependency
reformated jwt source code with the orient formatter
replaced base64 encoder for jwt with orient base64 encoder for avoid duplicate code.
renaming following the orient naming convention.
refactor jwt impl for allow extensions.
implemented first unit test on token handler.
add additional serialization tests.
test token forge attempt