Update several things for latest master.

Enum repr seems to have changed.  PartialOrd changed as well, and initializer lists for structs apparently don't like p3 : 0 as c_float any more, as the type of 0 can't be immediately determined.
Merge pull request #41 from brandonson/master

Update several things so lib works with latest master.