Add Skydrive image scaling.

Details:
1. Add Skyrive image scaling.
2. Fixed bug when skydrive mediatype was dublicated in content item authoring form.
3. Fixed Skydrive XSS vulnerability.