Fixes rebar shebang, also fixes source of leveldb zip to be the canonica...

Fixes several issues:

- Fix all shebangs because rebar tries to use /usr/bin/env

- The old github zipball URL does not always give back a zip with the same hash, changed to canonical one, hope it works

- Syntax error