IDE-1487 rewrote the validation of <resource-bundle>, <portal-properties> and <language-properties>

	and added unit test for these validation