fixed problem with reload of list elements. The old code tried to reset
all fields with null, also primitive types like int and boolean.
Replaced hardcoded null, with a method-call which returns a default
value based on the field-type.

added also test-cases for the new default-value method and reload of a
list element with primitive values.


issue #2695
Merge pull request #1 from orientechnologies/develop

Develop
Merge pull request #2 from orientechnologies/develop

Develop
Fixing of small bugs according to FindBug report
removed from public api the methods for manage ownership
Merge pull request #2817 from PhantomYdn/fix-findbugs-issues

Fixing of bugs according to FindBug report
Fixed issue #2788
Issue #1761 was partially fixed. Without tests.
Merge branch 'develop' of github.com:orientechnologies/orientdb into develop
Merge branch 'develop' of github.com:thewall13/orientdb into develop
removed redundant dependencies declaration, issue #2433