Impliments Item::build_item_tree

Takes an array of items and returns a hash of the items keyed by the
items' parent_ids.

Also adds additional elements to the image_file_type method.
Adds ruby-version file