Very minimal refactoring of Material class.
Complete rewrite of Material class, mostly following original API.
Refine class method names.
Refactor pretty_path and edit_url into view helper.
Rename redundant "is_x?" methods
Rename Material#path to Material#directory, in order to clarify the
meaning of Material#fullpath