OSQLMethod patch

this patch allows custom implementation of OSQLMethods.
Requiered to implement ISO 13249

Bug report : https://github.com/nuvolabase/orientdb/issues/1276