copied ajaxupload from myopencart/ocstore

Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>