Rename fail to panic

Rust has renamed the fail! macro to panic!

This changes the fail! chapter to the new wording.

It also renames fail! to panic! in all the rust source files. I have not yet checked that the text surrounding these code lines "make sense".