function build(text, strict) {
        var builder = new Builder(text);
        return builder.build(strict);
    }
Builds a SimpleDOM from the text provided. If `strict` mode is true, parsing
will halt as soon as any error is seen and null will be returned.

@param {string} text Text of document to parse
@param {bool} strict True for strict parsing
@return {SimpleNode} root of tree or null if strict failed