Updated fail! to panic! rename.
Updated all string related errors to latest rust semantics.