Upgrade to Elixir 1.0

Some small changes to make beanstalken compatible with Elixir 1.0

- Upgrade Elixir version dependency
- Trailing whitespace cleanup
- Switch State from Record to Struct
- Fix YAML parsing