Keeper Doohan saved a 93rd-minute penalty against Hearts to prevent Aberdeen crashing to a sixth successive league defeat for the first time since 2010.