Add ability to upload/run Perl/PHP/Python scripts.

Previously only Bash .sh scripts were valid, now any of the above can
be run as an event script.