Update jquery.jSprite.js

Modified getSize, to detect the width and height if the value is zero.
Included getGrid, to detect the columns and lines if the value is zero.