Improved escape and unescape of Android resources with HTML markup

Improved escape and unescape of resources with HTML markup, aligning them to how Android handle them, and adding specific unit tests.
No whitespace around `=` here please,  use `handle_wrapping_whitespace=True` instead. Having an explanation of the parameter in the docstring would help too (`:param handle_wrapping_whitespaces: <explanation>`).