Send reply in event of a premature exit (via throw) from fold.
WIP embedded counter in map is a different type
Use the embedded counter mod inside the map
Update tests to use the embedded mod map
doon't export binary() as an opaque type

Opaque types should be unique.
Cleaner output for bucket type creation errors
Translate bucket errors for updates as well as creates
Merge pull request #956 from basho/jrd-issue-893

Cleaner output for bucket type creation errors

Reviewed-by: jrwest
Fix handling of bucket+type with MR keyfilters

Roach found this while writing tests for the Java client. If using the
JS syntax for using bucket types and keyfilters together through the PB
interface, this was broken. In the http case without security, the path
is not touched so it didn't show before.
Fix parsing of MR type/bucket + keyfilters inputs
Remove map "add field" operation from API
Merge pull request #869 from basho/bugfix/handoff-fold-abort-early-2.0

Send reply in event of a premature exit (via throw) from fold.

Reviewed-by: reiddraper
Merge pull request #888 from basho/bugfix/bucket-types-and-mr-key-filter

Fix handling of bucket+type with MR keyfilters

Reviewed-by: kellymclaughlin
Adjust line numbers of generated code in riak_core_pb.
Merge pull request #951 from basho/feature-bug/rdb/removes-remove

Use the embedded counter inside the map

Reviewed-by: seancribbs
forward port membackend fixes
fix a few new places where modstate is not updated