Added divide by 0 test to ltcminer.py

Rasorfish has noted a problem, this is an interim change until we find
out why its trying to divide by zero. Also changed default diff from 32
to 2 so we don't throw away work when target is incorrectly set.