update docs/constants.md to match lib/constants.js

I'd also suggest grouping the constants in the documentation as they are in the source code (by logical groups), rather than alphabetically.