Reconfigured Pubnub initialization parameters to allow for subscription only if when None is used for publish_key parameter. Added raise AttributeError if both pulish and subscribe are None