Port to the latest Rust

Remove deprecated fixed stack segment attributes.

Move from do notation to proc notation for unported methods (methods
such as as with_ref should probable take proc types but have not been
coded to use them yet.)
Merge pull request #61 from sstewartgallus/port_to_latest

Port to the latest Rust
Add GLES2 extension API bindings and some fixes.
Add define & some fixes.
Add crate lib