Fix dialyzer warnings and make all the records typed
Merge pull request #188 from basho/adt-dialyzer-fixes

Fix dialyzer warnings and make all the records typed