Update template_registry.py fixed sharetarget check against exploit reported

more info on the subject can be found here https://forum.litecoin.net/index.php/topic,4002.0.html
Merge branch 'master' of https://github.com/Sparten/stratum-mining

Conflicts:
	lib/template_registry.py