Fix the translateSelector method

The translateSelector method did not properly handle GREATER_THAN
and ENDS_WITH relations.
Fix setAutobatchEnabled method not updating the leading storage
Fix the resolveSelector method not properly handling SelectorNegation
Optimize AccountWatcher