Sync with spec

This brings commonmark-php into compliance with the latest spec.  All changes are mirrored from the jgm/stmd repository.