Fix task validation, errors, and partialize form

Move forms for new tasks and edit task views into a partial. Change form
style from horizontal to default. Fix styling on form errors to be
compatible with Bootstrap.

Fix date range validation on task model. Fix syntax error in time
distance in word calculation.