NCBC-415: Fixes regression bug in which wrong GetView overload was called

This is the same fix as NCBC-425 but adds Unit Tests.

Change-Id: I62fc4091d1827d33fed3ddaa9f01a0bdf9ec7bc1
Reviewed-on: http://review.couchbase.org/34391
Reviewed-by: Jeffry Morris <jeffrymorris@gmail.com>
Tested-by: Jeffry Morris <jeffrymorris@gmail.com>