Portable shebang

@charlierudolph @allewun check it out!

Implements #282