New SQL query compiler WIP and some refactoring.
Remove exception throwing from ODocument orient specific methods.