Fix incorrect type checks in TrimToSizeListener
Use Dispose instead of Close for portability
Add Portable Class Library C# target variant
Remove debug, dfa_debug, and retry_debug from portable library
Portable class library does not support console IO
Portable class library does not support direct file IO
SerializableAttribute is not available in the portable class library
Add ICustomAttributeProvider wrappers to the portable library variant
Merge branch 'portable'