clean up public api and java 1.6 compatibility
Merge branch 'develop' of github.com:orientechnologies/orientdb into develop

Conflicts:
	core/src/main/java/com/orientechnologies/orient/core/iterator/ORecordIteratorClass.java
	core/src/main/java/com/orientechnologies/orient/core/serialization/serializer/record/string/ORecordSerializerCSVAbstract.java
	core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OAbstractPaginatedStorage.java
	core/src/main/java/com/orientechnologies/orient/core/tx/OTransactionOptimistic.java