Fix building errors on x86_64-w64-mingw32 due to wrong linking order.
Merge pull request #234 from hauzer/master

Building of example fails on x86_64-w64-mingw32 with unresolved references due to wrong linking order
Add FromPrimitive to a few enums, to allow casting from primitive types.
Merge pull request #235 from nstoddard/master

Add FromPrimitive to a few enums, to allow casting from primitive types.
Replaced `fail!` macro with `panic!` macro.

The `fail!` macro has been removed from the rust language.
Merge pull request #237 from Binero/master

Replaced `fail!` macro with `panic!` macro.
Fix warning about non uppercase globals from bitflags.
Merge pull request #240 from metajack/warning-police

Fix warning about non uppercase globals from bitflags.
fixed for enum namespacing
Merge pull request #241 from HeroesGrave/master

Fixed for enum namespacing
Fix README to show enum namespacing
Merge pull request #242 from Bzomak/master

Fix README to show enum namespacing
string::raw::from_buf and vec::raw::from_buf deprecated
Merge pull request #243 from Bzomak/master

string::raw::from_buf and vec::raw::from_buf deprecated
Avoid an unnecessary transmute call.
Merge pull request #244 from servo/transmute

Avoid an unnecessary transmute call.
Fix for runtime removal
Merge pull request #245 from bjz/rustup

Fix for runtime removal
Fix sync import
Fix for thread local storage changes