Capped the difficulty in VARDIFF

* VARDIFF has new and renamed settings. Please update your config.py
* VARDIFF now has a minimum and maximum difficulty, but will start at the pool target
* VARDIFF will now check litecoin difficulty to make sure we do nto surpass it
Fixed a potential timing backtrace
Fixed a potential race condition.