The EBEX Balloon-borne Experiment—Optics, Receiver, and Polarimetry