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. Works better when running
R16 and Webmachine in itself is a dependency.