made the internal _Reasons an enum, since we already depend on enum34

fixes #854
Merge pull request #1554 from alex/reasons-enum

made the internal _Reasons an enum, since we already depend on enum34