Update functions.php

Changed createThumbnail() to support transparent PNG thumbnails.
Should be "/png$/" to prevent matching stuff like "this_is_not_a_png.jpg".