MB-5904: sanitize process backtraces

Change-Id: Ia529cf8cbbdb221d1ba44519cfaa0a66393f07ed
Reviewed-on: http://review.couchbase.org/28254
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
Tested-by: Artem Stemkovski <artem@couchbase.com>
MB-100: unbreak dialyzer breakage

Change-Id: I4fce022a53a4f54ce7534cffb4554ed2d8708e77
Reviewed-on: http://review.couchbase.org/28262
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Merge remote-tracking branch 'origin/2.2.0'

* origin/2.2.0:
  MB-100: unbreak dialyzer breakage
  MB-5904: sanitize process backtraces

Change-Id: I8b98ced9862cafeb379b814c40961c8e7b224554