Detect same object and use absolute methods

Tests when running in cassandra were failing because there are times
when we have to compare the same instance. The code was temporarily
changing the position of buffer 1, and this meant we did not detect any
tokens in buffer two.

Added test to return 0 if buffer 1 and 2 are ==.

Modified buffer access code to only use absolute get methods and not avoid
using remaining(). We did not code to ensure the buffer was returned to
it's original position, but it's best to not change the position.

All tests passing, and they passed on the reg ex pattern.