Fix how scripts detect the gollum process

Use pgrep to find the gollum process ID, as it's much more reliable
than ps.
Merge pull request #83 from townxelliot/gollum-script-fix

Fix how scripts detect the gollum process