[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
could have called `set_upload_directories()` here