Headspace, which offers a meditation app that claims to teach subscribers life-changing mindfulness skills to help them reduce stress, focus more and sleep better, signed a sublease for a full floor at 595 Market St. to establish an office in San Francisco.