Added a dialyzer target and fixed the warnings.
Merge pull request #21 from JanHenryNystrom/jhn_stdlib-19-dialyzer

Added a dialyzer target and fixed the warnings.