LPS-49438 Upgrade Language keys in default data

Hey Brian,

This is a resend of: https://github.com/brianchandotcom/liferay-portal/pull/20847#issuecomment-54900309

Regarding the list size when retrieving the companyIds and groupIds it shouldn't be an issue. We are **only retrieving the global groupId and companyId, which means that we will have 1 row per portal instance**, and most of the installations don't use portal instances and the ones that do don't have thousands of instances. We searched in other upgrades and there are queries that are similar or even worse and they don't have any pagination at all, such as: 

https://github.com/liferay/liferay-portal/blob/master/portal-impl/src/com/liferay/portal/upgrade/v6_1_0/UpgradeDocumentLibrary.java#L169
```java
			ps = con.prepareStatement(
				"select fileEntryId, extension from DLFileEntry");

```

https://github.com/liferay/liferay-portal/blob/master/portal-impl/src/com/liferay/portal/upgrade/v5_2_5_to_6_0_0/UpgradeGroup.java#L75
```java
			ps = con.prepareStatement(
				"select groupId, classPK from Group_ where classNameId = " +
					classNameId);
```


Regarding the fileEntryType keys, since the beginning they were originally created using the pattern of AAA BBB CCC (without any dash or underline). In 6.2.x we were using this constants https://github.com/liferay/liferay-portal/blob/6.2.x/portal-service/src/com/liferay/portlet/documentlibrary/model/DLFileEntryTypeConstants.java and they are transformed to uppercase by line https://github.com/liferay/liferay-portal/blob/6.2.x/portal-impl/src/com/liferay/portlet/documentlibrary/service/impl/DLFileEntryTypeLocalServiceImpl.java#L79. **The result is that the keys stored in database are like IMAGE GALLERY IMAGE or MARKETING BANNER** and as we want to keep the existing document types, we need to use this kind of keys in the upgrade.

The Image Gallery Document type was introduced as part of the upgrade process to 6.1.0 when we remove the Image Gallery. The following portal.property decides if the image gallery document type should be created or not: dl.file.entry.type.ig.image.auto.create.on.upgrade. In case that the document type exists, we need to upgrade it.