Photoemission sources and beam blankers for ultrafast electron microscopy