MDL-39964 report_progress: don't browser sniff for SVG support

Use feature detection, its more robust and better practice.
MDL-39964 deprecate can_use_rotated_text()

This probably should never have landed in moodlelib anyway, as it was
only used in the completion report