Fixes for rust nightly

- fail! -> panic!
- .. -> ... in match statements
- move gl functions into unsafe blocks
- mut_* -> *_mut
- move_iter -> into_iter
Merge pull request #1 from beatgammit/nightly-fixes

Fixes for rust nightly