Made a portable version of the library.

Added the portable library project and solution.
Used conditional comments to disable non-portable parts (file classes,
Console, SerializableAttribute).
Upgraded some collections to generic.
Commented out some console output and exeption slurping.
Small refactoring of the Tidy.Parse* methods to extract the non-portable
parts.