EAGLESIX-2688 Minor changes. Added error codes to some Errors. Commented...

... out a duplicate method.
Also in the header file, there's another function called evaluate in addition to evaluateInternal. The first has a note that it is only used in test cases, and I'm not sure exactly how the these two work together, but our current implementation is a deviation from mongo.