feat(example): initial mindmap provider

shows how to pass input to a provider
feat(arrays): eachElement function

supports single object in forEach being processed as element
and not as key => value loop
feat(log): error function, to throw with stacktrace
feat(xml): xml attributes are lowercase
feat(example): migrate chess example from branch