mon/MonCap: allow . in unquoted string

Fixes: #5967
Signed-off-by: Sage Weil <sage@inktank.com>
osd/OSDCap: allow . for unquoted strings

Signed-off-by: Sage Weil <sage@inktank.com>