Add back in RedstoneComparator functionality

Signed-off-by: Jack Huey kitskub@gmail.com
Merge pull request #611 from kitskub/master

Add back in RedstoneComparator functionality