Refactored code to use form helpers and named routes.

Refactored the code in both models to use named routes in all the views and controllers. Refactored the code in both models to use form helper methods. Changed the HTML5 date input type, to a more cross browser method.