Add a simple view example

Change-Id: I38eb1fece993f4de5b0bce315a1b994861582410
Reviewed-on: http://review.couchbase.org/26525
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Mordechai Nunberg <mnunberg@haskalah.org>