cherry-pick commit 041cee5 into 1.3 branch

It was desired to have the sink-sync-send crash fix backported to
the 1.3 branch. This is a cherry-pick of the commit that fixed the
issue from pull request #73. The tests tests that demonstrate the
issue have not been backported, to save merge hassle.

Original commit comment:

catch sink fsm exits for all reasons

The reduce_fitting_pulse test showed that other exit reasons might
be seen here. For example, 'normal' can happen if the sink shuts
down after the sync event has been delivered.

This commit broadens the catch to prevent those other reasons from
killing the current process, and also narrows it to make sure exit
is bubbling from the sync_send_event, and nowhere else.
limited support for ring resizing

Provides ability for clusters using riak_pipe to use ring
resizing. Ultimately, this is a hack that includes just enough support
for clusters to successfully transition between the old and new ring
without riak_pipe getting in the way. It does this by lying to
riak_core's handoff subsystem during resize. The lie it tells is that
even when it has outstanding work/queue items it will report that it
is empty. This will allow the pipe vnode to continue processing work
in the old ring since vnodes are not deleted and shutdown until the
new ring is installed. This does, however, come with the drawback that
work that is in-flight when the new ring is installed has undefined
behaviour. The work may complete or may be terminated by the cleanup
processes that follows the installation of the new ring.

Better support for pipe has several challenges. Some can be easily
addressed through extra support in riak_core but the fundamental
challenge is that riak_pipe hands off worker archives. In a larger or
smaller ring parts of those archrives would be owned by new
partitions which would force those archives to be "re-opened" and
disseminated during handoff.
Merge pull request #74 from basho/bwf-fitting-pulse-1.3

Backport fix in issue 73 to 1.3 branch
Roll riak_pipe version 1.3.2
Bump riak_core dep to 1.3.2
fix typespec
Merge pull request #76 from basho/jrw-dynamic-ring

limited support for ring resizing
Merge branch '1.3'

Conflicts:
	rebar.config
Roll version riak_pipe 1.4.0
Merge branch '1.4'
Get rid of some simple_one_for_one supervisors
Merge branch 'master' into dev