Update class.reddit.plugin.php

major fixes