Refactored projector to support both upr and tap.

- use -proto switch to select "upr" or "tap" (default is tap).
Go format.
Merge branch 'index-preview' of github.com:couchbaselabs/indexing into index-preview