Implemented use of "boost::optional" for some of the instances where "bo...

...ost::none_t" was already being used:

mapping, unit, repository.
Not implemented for many yet to clarify cases: "dataType", "labels", "extents", "units", "values", "link", "extent", "metadata".