IDE-1649 check for null appServerPortalDir
IDE-1661 check for liferay version from active properties and deps
IDE-1661 source formatting