Issue #31 Date picker data handling

Instantiate date picker with the active event model
Only return from the date picker the attributes that it worked on
Issue #31 Add a null check on upvote remove

Need to have an array of upvotes in order to remove an upvote
Issue #31 Parse true and false to boolean

When true and false are sent from the server as strings, convert them to
boolean values.
Issue #31 Refactor: back the image trimmer w model

Introduce a model that can be used to track the state of the image in the image
trimmer.
Save changes to the image to a model instead of through the controller.
This is part of a longer refactor to depend on a model and be able
to recreate the state of the image trimmer.
Issue #31 Move image properties to model

Move all properties of image size and position to the model.

Move some calculations of computed properties into the model to manage them
internally.

Reference model calculations in the view.
Issue #31 Move to image trimmer model #1

Moved methods for determing if an image can be sized and moved.
Moved methods for determining if an image is out of bounds.
Issue #31 Refactor to model #2

Move out of bounds calculations to model.
Automatically update height of model as width changes.
Save image parmaeters to model as they change so and update the image using event bindings on the model.
Issue #31 Save slider factor on model

Refresh slider position from slider factor.
Save slider factor on model when slider is moved.
Issue #31 Adjust width when factor changes

When slider factor changes, update width of image using event handler.
Issue #31 Consolidate start image method

Use start image to get trim border on the model as well
Issue #31 Move center image to model
Issue #31 Remove ununsed dom functions
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