Began real work on PowerMateEventHandler.py

* Turned it into a class
* Added many function, including those to handle threads/queues

Changes have NOT BEEN TESTED AT ALL yet.