Updated to Rails 4.2
Fix tests for 4.2
Add extract_dynamic_image_record to the helper, since extract_record is gone
Include size in path to original image