Added the dice.py plugin

The pull request adds the old dice plugin into `plugins/misc`. The old version was removed during the py3k transition. This pull request includes all changes needed to make it py3k compliant.