Checks if the uploaded file actually is a image file or not
Server now lists all images
Image upload integrated with TinyMCE and styling added.