Finishes AST and enum duplicate/remap fixes.

So far, everything looks great. C library still parses, and templates are working as expected. Valgrind reports zero memory issues. The next test is factorials, which will further test instantiation as well as specialization.

Following that, we will begin holy war on the STL once more.