added doc notes to dice.py
added generic FileLocker class
incorporated the dielocker into the rollclass