adjust bitmask & get_html_translation_table output

- the function of get_html_translation_table actually filters spaces to the entity of &#39; (without the 0) so this has to be added to the replacement array
- the default document type for this function is ENT_HTML401 and therefore must be adjusted to ENT_HTML5

Signed-off-by: -Underdog- github.underdog@gmail.com