Update travis config to use Elixir 1.0.1
Update dependencies
Fix deprecation compile errors
Replace records with structs and fix a few more deprecations