Use rebar to define new_hash

A rebar.config.script checks the OTP version and defines new_hash
instead of having the Makefile doing it. This works better when running
R16 and Webmachine in itself is a dependency.