[ticket/12560] Add methods to set upload and temp paths in plupload

The paths will be reset to the default paths after an upload is complete.

Ticket: https://tracker.phpbb.com/browse/PHPBB3-12560
I am not sure why we change this functionality?