upgrade syntax to rust 0.12

 * use panic!() instead of fail!(): this was renamed
 * upgrade dependencies to work with rust 0.12 as well
 * don't import non-existent debug crate anymore
Merge pull request #1 from muggenhor/rust-0.12-fixes

upgrade syntax to rust 0.12