Add Makefile that uses rebar

Had to do this otherwise I got `Warning: behaviour yaml_schema undefined` and compilation stopped because erlang.mk treats warnings as errors.

Any better ideas?