Updated makefile

 * Makefile now uses a variable for rebar.
 * Makefile now has a xref task.
Merge pull request #5 from Licenser/makefile-updates

Updated makefile