update to working with elixir 1.0.0

- record transformed to struct
- update to new ast case clauses generation