Move the Gallery thumb generator thread class to libmythmetadata so it can be used by mythbackend and mythmediaserver