Fixed enums being the wrong size because of
https://github.com/mozilla/rust/pull/9613 landing.
Fixed managed state example not compiling
Merge pull request #44 from Kimundi/master

Fixed enums being the wrong size.