[ticket/10929] Integration of Plupload

This is a highly-refactored and up-to-date version of Fyorl's work which was part of his Google Summer of Code 2012 project "Attachment Improvements".

Requires #1581
Suggests #1582

http://tracker.phpbb.com/browse/PHPBB3-10929