Issue #31 Use model to store image source and url

Model now manages saving the image in the image trimmer
Issue #31 Refactor image startup

Now possible to start a new image using an api on the controller
Refactor so that start image is called inline as part of loading an image.
Issue #31 Move moving logic to model

Moving calculations of new image position to image trimmer model from view
Issue #31 Refocus image in model

Move refocus image to model.
Save image coords on size start on model
Issue #31 Remove attr in load image method
Issue #31 Refactor output to limited props

Only properties that represent the image in the end should be an output of the model
Issue #31 Create method for outputting image

Calculate the coordinates on a full sized image of how the image should
eventually be cropped
Issue #31 Add api to set image size and position

Add a method for setting the image's width
Add a method for setting the image's x and y offset

Add an api on the image trimmer controller for setting width and x and y
Issue #31 Add method to set image width

Now possible to accurately set image wideth in the image trimmer based on the
width of an image previously outputed.
Issue #31 Add method to set image xy coords

Add a method to set the x and y coordinates of an image
Issue #31 Introduce deferred on image prop set

When setting image properties like size and position, use a deferred to ensure
that the image is ready.
Issue #31 Fix parsing error

Only parse the haveIUpvoted property , the original method of using map over each item
was not working.
Issue #31 Startup image in event form

When an image is available in the event form, set its width, height and position.
Issue #31 Rails dataflow for updating images

Load image properties in event when it is fetched.
Add functionality to event update method to implement the new image on save.
Issue #31 Fix reference to upvote_names