turned some large functions into factories.
- getResizeArea
- resizeImage
edited the demo to reflect API changes in the image uploader.
split up the directive into 'image' and 'images'