LPS-44908 Modifications to portal-settings to handle default values automatically

WARNING: This pull request is a prerequisite of https://github.com/JorgeFerrer/liferay-portal/pull/333