Update rebar to 2.5.1
Support OTP17.x
Add keys/1 and values/1