Add attempt and mapError to StatefulChoice
Merge pull request #9 from mavnn/master

Add attempt and mapError functions to the StatefulChoice module.