added docs for cms.constants

added docs for cms.constants

see discussion in #1565