Implement edit task method for database

https://github.com/cs2103aug2014-f11-3j/main/issues/91

Why is this change necessary?
User may need to edit task, e.g. for rescheduling, errors when keying in
tasks initially.

What side effects does this change have?
Logic can now call upon this method to edit tasks.