Fix Record.record? deprecation and update minimum to Elixir 1.0.0