Fix bug where an empty keyword is added to a task

I noticed when working on the Task Detail screen that a blank keyword was being added to tasks when no keywords were entered into the Keywords field on the Task Form. I have fixed that and added a unit test for it.

@bitgeeky r?