fixing image placeholders in articles and code cleanup

This PR fixes image placeholders in articles so that they actually add and save an image. 

I also fixed white space in MediaPlaceholder.js and cleaned up a few other items as they came up.