Fixes for compatibility with Rust master

* "extern mod" is now "extern crate"
* std::ptr::to_unsafe_ptr has been removed
Merge pull request #45 from reima/master

Fixes for compatibility with Rust master
Use `Hash` instead of `IterBytes`
`HashMap` has moved to `collections` instead of `std`
Removes unnecessary comments from keycode/scancode code generators.

(There was a commented out type alias which was used in the `IterBytes` implementation.
This is no longer necessary.)
Merge pull request #46 from drbawb/exp/fix-hashmaps-for-master

Exp/fix hashmaps for master
Added support for SDL_SetColorKey and SDL_GetColorKey

Also implemented: SDL_MapRGB, SDL_MapRGBA and SDL_GetRGBA
Removed unused result
Merge pull request #48 from arjantop/master

Added support for SDL_SetColorKey and SDL_GetColorKey
Remove all lib compiler warnings
Merge pull request #49 from arjantop/master

Remove all lib compiler warnings
Allow uppercase variables on SDL_PixelFormat
Merge pull request #50 from arjantop/master

Allow uppercase variables on SDL_PixelFormat
Implemented Ord and Eq
Merge pull request #51 from AngryLawyer/latest-master-fixes

Implemented Ord and Eq
Use rand in its new location.

See: http://cmr.github.io/blog/2014/03/11/this-week-in-rust/
Merge pull request #52 from dcbishop/master

Use rand in its new location.
Change from match to if for strings.
Merge pull request #53 from dcbishop/master

Change from 'match' to 'if' for string comparison.
Remove extern crate extra.