Add a 'kill process group' feature bound to the 'g' key

It works exactly as the 'kill' feature (F9/k), except that it kills all
processes sharing the same PGRP instead of a single process.
Remove trailing whitespaces (cosmetics)
Fix a few warnings with GCC 4.8.2 by correctly handling return values