Ultracold neutron source at the PULSTAR reactor: Engineering design and cryogenic testing