Miscellaneous fixes

#150 - boost::optional in UpdateTask API call. 
#154 - to implement marking task done API call.
 #226 - for each and std::begin

@lowjoel  Please remove You::NLP::TaskPriority since our enum name is now the same.