Changed the duration saving data from Time to seconds and chagned the DB
structure from Time field to Int to store only the number of seconds.

Also altered a bit of Timesheet entry model
because validation was not working because of a logic issue.