Custom Grammar support added to MLJS core

Fix for docs bug cts-element changed to element for grammar config