Bug 930916 - Add a function for getting the PaintedSurface as a data URI. r=gbrown