fixes clobbering when turning a leaf into an inner
Don't call init:stop() when running tests as it stops rebar, too
Squashed commit of the following:

commit 054e5f92d42a18edf3266ec448d36745bc8332e0
Author: argv0 <andy@basho.com>
Date:   Fri Apr 1 16:22:39 2011 -0700

    revert riak_core_node_watcher to old handler usage

commit d8618bdbf3ff5f72f33408f87b4623eae466074a
Author: argv0 <andy@basho.com>
Date:   Fri Apr 1 15:04:28 2011 -0700

    remove whitespace change

commit 4c863b685b50148d717179487111a0c1fd50d900
Author: argv0 <andy@basho.com>
Date:   Fri Apr 1 14:34:25 2011 -0700

    revert to tracking handler funs with refs

commit dc649759114fa03422608a2343c2ec185096ed2d
Author: argv0 <andy@basho.com>
Date:   Fri Apr 1 13:43:02 2011 -0700

    implement deletion of guarded handlers

commit 9aced05248c5dd1ad55e28eb7a9e974c10cf0786
Merge: 9861b00 257f7a6
Author: argv0 <andy@basho.com>
Date:   Thu Mar 31 12:07:22 2011 -0700

    merge

commit 9861b00f2dfb79aae1d181db40dae6c18c24e474
Author: argv0 <andy@basho.com>
Date:   Thu Mar 31 12:01:49 2011 -0700

    docs and proper setup/teardown of test

commit 76f99e0e50bf9deead36d3b4371ce559dd18ae92
Author: argv0 <andy@basho.com>
Date:   Thu Mar 31 00:32:17 2011 -0700

    tests for guarded handlers

commit efc85744c911d8b755367d333b7a4c60cba8a3ef
Author: argv0 <andy@basho.com>
Date:   Wed Mar 30 22:51:01 2011 -0700

    some renaming, allow traditional, non-guarded handlers and callbacks.

    use fun_info(Fn, uniq) rather than refs to identify callback handlers.

commit 63de188be4a95d230956b1fb5ba4fac2a32ae961
Author: argv0 <andy@basho.com>
Date:   Wed Mar 30 18:44:19 2011 -0700

    supervised handlers already produce a lot of sasl noise - default exitfun = noop

commit ec6cad2abf946d15ba8e96c20617a4bab5bea638
Author: argv0 <andy@basho.com>
Date:   Wed Mar 30 18:43:15 2011 -0700

    make node_watcher callback use regname instead of pid so an external minder process can work

commit 332793f34a449b1a3005996996483546d8763db8
Author: argv0 <andy@basho.com>
Date:   Wed Mar 30 16:02:44 2011 -0700

    support exitfuns in riak_core_eventhandler_guard

commit 65e5b4cc1fbec9b6eb11cfe5c64c1c6ea6a4a350
Author: argv0 <andy@basho.com>
Date:   Wed Mar 30 13:01:23 2011 -0700

    rename handler_* to eventhandler_*

commit 400d1fd37117b47afa6de002ac9b0ae8d079c878
Author: argv0 <andy@basho.com>
Date:   Wed Mar 30 12:50:31 2011 -0700

    fix node_watcher_qc to start handler supervisor

commit 70b0bfb183f3ab3987ce070a8f3438f52641f428
Author: argv0 <andy@basho.com>
Date:   Wed Mar 30 12:37:08 2011 -0700

    first stab at handler supervision with dedicated supervisor and guard processes

commit 257f7a6cab44eaf20b4cc488bd0783b2e08f3113
Author: argv0 <andy@basho.com>
Date:   Thu Mar 31 00:32:17 2011 -0700

    tests for guarded handlers

commit 8a210eca7dbea2b3e83fc649a32f2d2abe193066
Author: argv0 <andy@basho.com>
Date:   Wed Mar 30 22:51:01 2011 -0700

    some renaming, allow traditional, non-guarded handlers and callbacks.

    use fun_info(Fn, uniq) rather than refs to identify callback handlers.

commit 4ed25c916536e1372ce3cd0f7c4f78224b5a6331
Author: argv0 <andy@basho.com>
Date:   Wed Mar 30 18:44:19 2011 -0700

    supervised handlers already produce a lot of sasl noise - default exitfun = noop

commit cd1f5a0e1e38fd7c3a098fed1dfa24ef39d80fd0
Author: argv0 <andy@basho.com>
Date:   Wed Mar 30 18:43:15 2011 -0700

    make node_watcher callback use regname instead of pid so an external minder process can work

commit 3fe083c519daadde6cad298d5dec9cb0219476ab
Author: argv0 <andy@basho.com>
Date:   Wed Mar 30 16:02:44 2011 -0700

    support exitfuns in riak_core_eventhandler_guard

commit e35e1411f59a699cc09d33621ea551bb172d8b05
Author: argv0 <andy@basho.com>
Date:   Wed Mar 30 13:01:23 2011 -0700

    rename handler_* to eventhandler_*

commit d359aa759d1f48a7dcf5adf4d65c08a63ec3bff3
Author: argv0 <andy@basho.com>
Date:   Wed Mar 30 12:50:31 2011 -0700

    fix node_watcher_qc to start handler supervisor

commit 1b9709bb15b22e106f3612876531b1953b0df56c
Author: argv0 <andy@basho.com>
Date:   Wed Mar 30 12:37:08 2011 -0700

    first stab at handler supervision with dedicated supervisor and guard processes
dialyzer: riak_core fixes
export riak_core_ring:riak_core_ring type
Merge branch 'master' of https://github.com/andrewoswald/riak_core into az151-merkerl-fix
Merge branch 'az211-run-tests-from-toplevel'
More sane calculation of the owner application for a vnode module.

Addresses same issue as https://github.com/basho/riak_core/pull/37
but enforces no convention on the vnode module name and uses the
canonical source for registered vnode modules
((riak_core, vnode_modules) in the app env).

Also gets rid of funky atom construction.
bz://716 : graceful riak_core_handoff_sender failure on crash of receiving node
Update protobuffs to 0.6.0
- modified handle_exit / handle_info so we no longer need to know the internal state to use it externally as a callback
- fixed comments to reflect handle_info/3
- the case clause also checks for {stop, Reason, NewModState}, so it can re-wrap as {stop, Reason, State#state{modstate=NewModState}}
add QC tests for handling linked process exits
add comment to QC handle_exit test
Add handle_info callback to riak_core_vnode behavior
AZ 307: SSL encryption of riak_core handoff traffic

Added basics for SSL options for handoff sender & receiver.  It has been
lightly tested using SSL (it works), and the non-SSL case still appears to
work fine.  No basho_expect testing yet, that's the next stop.
Add sanity check for riak_core, handoff_ssl_options config
Merge branch 'az307-handoff-ssl'
Merge branch 'handle_info_for_vnodes' of https://github.com/evax/riak_core into az302-vnode-handle-info
move join/leave/transfers/ringready from riak_kv to riak_core