Changes redirect on file upload

If the item form was nested inside a project, will redirect to the
project instead. Also, changes image resize to constrain and crop
the preview and thumbnail files respectively.
Changes preview partial to use image_tag helper
Changes item preview partial to widen anchor

Anchor tag encompasses entire figure. Also images are display: block,
and images inside class .item-preview have max- dimensions.