Updated for most recent rust: made functions explicitly public, and switched from transmute() to FromPrimitive::from_int() for the cast to enum
switch to rustpkg
Fixed up .gitignore for rustpkg use
Merge pull request #1 from thewonderidiot/master

Update for latest rust and switch to rustpkg