updated get-image-size to automatically get image size if the current
buffer is a image, otherwise prompt
added haskell mode hook