Fixes bug when user attempts to create task with no value field
fix problem when updating task
update a test to check for undefined value when making new habit
Merge pull request #770 from arscan/valuefix

Fixes bug when user attempts to create task with no value field through the API