mon/MonCap: handle any whitespace (not just space)

Backport: emperor, dumpling
Reported-by: Dmitry Borodaenko <dborodaenko@mirantis.com>
Signed-off-by: Sage Weil <sage@inktank.com>
osd/OSDCap: handle any whitespace (not just space)

Backport: emperor, dumpling
Signed-off-by: Sage Weil <sage@inktank.com>
Merge pull request #1225 from ceph/wip-moncap

osd/OSDCap: mon/MonCap: handle any whitespace (not just space)
Reviewed-by: Greg Farnum <greg@inktank.com>