Increased upload error delay to 10 seconds

Fixes #5662

Also made it use OC.Notification instead of directly access the
notification HTML element.

Please review @jancborchardt @karlitschek @DeepDiver1975 @butonic