Reinstate SCRIPT_NAME support.

This was removed in d26b427f, breaking the ability to host multiple Showoff decks on the same hostname.
Merge pull request #139 from jcoglan/master

Reinstate SCRIPT_NAME support.