added promise logic to server side.
added promise logic to client side. AND

refactored/simplified 'makeXmlHttp' to 'post'
removed 'processedImage', promises made it more clear

added the following functions to imageModule:
remove(imageData)
_remove(imageData)
removeImageFromDOM