added preEncodeCallback - allow client to tune image embedding

callback can return
	- 'true' to continue with default embedding,
	- 'false' to abort grunt task
	- String to replace the image with