Move `phantom` checks in test.'s to the `document` variable assignment.
Simplify `_.zip` for the `underscore` build.
Rename `isLodashFunc` to `isLodash` in build.js.
Make split regexes in `matchVar` and `matchFunction` into multiples, correct typo in `getDependants`, and remove a lot of edge case build code.
Avoid maintaining  the html escape/unescape regexes independently of the entity maps.
Fix failing build tests.