Add aspCompat flag to mimic ASP's HTMLEncode

Basically, the &apos; character is NOT encoded by ASP's HTMLEncode, but
it is by this library. Add a flag to default to the ASP behavior.