HR-345 Fix for profile selector edit link

The Edit/Copy link of profile selector on Manage Event/Contribution page was broken.
In Event profile selector, the entity name needed to be changed, otherwise not a single profile was loading for edit/copy action.
While on Contribution's Include Profile tab, "Contribution bulk entry" profile was not loading properly giving error:-
Failed to locate field: contribution_1.soft_credit_type
Failed to locate field: contribution_1.send_receipt
This was because getSchema($entityTypes) from CRM/UF/Form/ProfileEditor.php is getting called while form build, hence $gid can not be set, due to which getContribBatchEntryFields() function was not getting called for edit action. So removed the condition to check for $gid.
Also "soft_credit_type" field was not defined in the function. So added that.
The main reason for profile edit link was not working for profiles of type other than individual, is that the ufEntityModel was set undefined as profiles are not of type Individual/Organization/Household rather 'Contact and other model like Participant/Contribution' etc.
So while setting UFGroupModel, for conatct_1 entity name, entity_type was setting null and not IndividualModel. So put the condition to check if entityType is defined.