Merge pull request #2 from cstar/master

Change hashbang
Add export PATH
Merge pull request #4 from l4u/export

Add export PATH
update rebar to 2.1.0-pre R15B02 20121122_173415 git 2.1.0-pre-1-g7dad2b3
Merge pull request #5 from tsloughter/update_rebar

update rebar to 2.1.0-pre R15B02 20121122_173415 git 2.1.0-pre-1-g7dad2b3
support new profile.d buildpack setup
Merge pull request #6 from tsloughter/profile_d

support new profile.d buildpack setup
Fix two issues i had when using the new buildpack code:

mkdir: cannot create directory `/app//.profile.d': File exists
 !     Heroku push rejected, failed to compile Erlang app

cp: cannot stat `/tmp/buildpack_bmoaig71iviz/opt/otp.sh': No such file or directory
 !     Heroku push rejected, failed to compile Erlang app
Merge pull request #7 from gorenje/fix_profiile_d_copy

Fix two issues i had when using the new buildpack code:
make for zotonic