test(dccd): Add a test for swapping references

closes #1158

Closes #1253
[#1164] move `web_components` line to dev_dependencies in the pubspec.yaml

Closes #1321
reflactor(parser): rename parser_static and parser_dynamic into static_closure_map and dynamic_closure_map

Closes #1250