Update Kill-Java.ps1

Rewrote the logging system to reduce the clutter of "Write" this and that.

Added the function Write-Log from http://poshcode.org/2566

Cleaned up the Purge Java installer cache to actually get the list of users.