Fix rebar URL
Copyright heartbeat
Convert integer macros to arity 1

Manually convert the macros extracting integers from binaries to an
arity-1 macro. Compiles and a quick review of the diff but probably some
copy/paste errors lurking here.