redirect self by need
siplabs-KAZOO-2861: formatting changes
KAZOO-2861: type updates and refactoring
use b_answer
remove resursive calls, use foldl
apply proposed changes from https://github.com/2600hz/kazoo/tree/siplabs-KAZOO-2861
Merge branch 'siplabs-KAZOO-2861'