Added a functioning rebar that does not barf on template files.  Uses fixes from here:

https://github.com/davidw/rebar