Refactor QgsMapToPixel to only build matrix on parameter change

Also add deprecation notices and provide full-parameters constructor
Set all QgsMapToPixel parameters at once from QgsMapSettings
Test rotation API in QgsMapPixel unit test