IDE-1832 bug fixes of element <portal-properties> and <language-properties> in liferay-hook.xml

- fixed the content assist and validation of <portal-properties>
- fixed the validation of <language-properties>