Apache FOP Code fix

Code fix
by
JM
:

Changed the way resolutions are handled. The single resolution in the user
agent got split up into source and target resolutions. For more info, see
the updated documentation. Note: backwards-incompatible change!