Relative path to sprite image in css changes.

Absolute paths doesnt work properly. Calculated relative path related to the current css file and using that for path of sprite image.
Formatting and removed duplicate call to file reading.
Added support for running the task multiple times

Added support for skipping the already sprited image references replacements since they cause background position to be written again.
Removed console logs