Distributed: fixed issue found by Rob on serialization of parameters for commands
Resource Pool: split impl to base + reentrant
Merge branch 'develop' of https://github.com/orientechnologies/orientdb into develop