Updated version of python mining script using 44 byte protocol, and allowing long polling.

This version of the mining script and slightly modified service proxy allows longpolling. The long polling works for p2pool, but does not work for submitting work at this time. Should work fine against slush etc.