Don't check for race conditions with dialyzer

For more information:
http://erlang.org/pipermail/erlang-bugs/2014-July/004518.html
Fix logger dialyzer warnings
Fix Mix lock files to use maps
Fix mix dialyzer warnings and improve task specs
Fix :sys.replace_state/2,3 for GenEvent
Fix iex dialyzer warnings
Fix elixir dialyzer warnings
Merge pull request #2752 from fishcakez/dialyzer_warns

Fix some dialyzer warnings