KAZOO-3064: fix spelling
KAZOO-3064: cleaned up specs and other dialyzer complaints
KAZOO-3064: use fewer anonymous functions
KAZOO-3064: spec updates and formatting