fix mixed tab indentation
even more whitespace fixes
Merge pull request #180 from erasmospunk/master

fix whitespace errors
fix getblocktemplate for ppcoin. if error passing {} try passing nothing.
pass exception on if not 500 internal server error
print IP address of invalid workers
fix error messages
log ip instead of throw it in exception
add log of IP in authorize
Merge branch 'invalidworkerIP' into upstream-master
Merge branch 'master-fix' into upstream-master

Conflicts:
	lib/bitcoin_rpc.py
	lib/bitcoin_rpc_manager.py
	lib/template_registry.py