release db before returning from authenticate
proof-of-concept support for authentication using JSON Web Tokens & HTTP bearer authentication

Conflicts:
	core/src/main/java/com/orientechnologies/orient/core/metadata/security/OSecurityShared.java
Merge remote-tracking branch 'origin/develop' into develop

* origin/develop: (66 commits)
  removed ORecordInternal methods from the public api.
  Fixed issue #2816
  introduced internal interfaces for clean up public interfaces. issue #2489
  reintroduced name and type in the property serialization for Network Compatibility
  Issue ##1356 was fixed.
  moved multivalue listener out of the document
  Issue #1392 is fixed.
  Switched to 2.0-M2.SNAPSHOT
  get rid of ORecordSchemaAwareAbstract
  Update version to 2.0-M1
  Update history with 2.0-M1
  Updated BP to 2.6.0
  Fixed issue #2809
  Updated Hazelcast from 3.2.5 -> 3.3
  updated studio 2.0
  removed usage of ORecordSchemaAware in the project
  added studio-2.0
  forced remove of the thread local database for a test that don't need it.
  removed generics from the record class, other minor fix.
  New NoCache intent to disable cache
  ...

Conflicts:
	core/src/main/java/com/orientechnologies/orient/core/metadata/security/OSecurityProxy.java
	core/src/main/java/com/orientechnologies/orient/core/metadata/security/OSecurityShared.java
	server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/command/OServerCommandAuthenticatedDbAbstract.java
proof-of-concept support for authentication using JSON Web Tokens & HTTP bearer authentication

Conflicts:
	core/src/main/java/com/orientechnologies/orient/core/metadata/security/OSecurityShared.java