Fix constant not found error for PUBSUB_MESSAGES; Fix NoMethodError caused by nil @subs and @psubs

From https://github.com/igrigorik/em-synchrony/pull/161