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
- removed HTML5 bitmask parameter

- ENT_HTML5 bitmask parameter is not compatible with the minimal SMF 2.1
PHP version of 5.3.8  (for PHP 5.4.0+)

Signed-off-by: -Underdog- github.underdog@gmail.com
- added character set

- behavior in PHP versions vary for this function's default character
set therefore it is necessary to force the setting

Signed-off-by: -Underdog- github.underdog@gmail.com
! Changes needs to be changed... :P

Signed-off-by: Antes <antes@simplemachines.org>
! move it to class so we can customize :)

Signed-off-by: Antes <antes@simplemachines.org>
Merge pull request #2457 from Antes/small_paws

! Changes needs to be changed... :P
Merge pull request #2429 from Underdog-01/patch-12

adjust bitmask & get_html_translation_table output