Portable class library support for the ANTLR 3 Runtime

This should include everything except for changes to the templates. Looking at https://github.com/antlr/antlr3/pull/169, it seems no such changes were required.