fixed minor bug that would occur in PortalPropertiesParserPreProcessor if a properties file ended with a properties group; added unit test for the getReorderedProperties method