Allow setImg() to resize image to canvas

Also fixed call to clearRect; it was clearing a rect width x width instead of width x height
replacing the "cover" param of setImg with an "options" param containing a "stretch" attribute

Changed the name from "cover" to "stretch". In my eyes it better shows
that the image can lose its ratio.
Merge branch 'nelsonmenezes-patch-1'