Add utility script for running plugin hook scripts
Remove use of temporary files from runhook

Input is now stored as a variable.
Output buffering was removed altogether because duh
Use array for file list; other ease-of-reading tweaks