Replaced tailable and awaitData booleans with a CursorType enumeration.

  JAVA-1493