LPS-49255 Fix tests
LPS-49255 Preserve collection invariant: c.add(e) => c.contains(e)

http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html#add(E)

As far as I understand from the documentation a list is not allowed to
return false in the add(E e) method unless it is a list that does not
allow duplicate elements and the element being inserted is already
present in the list. Although a list is entitled to prevent an element
from being inserted it MUST do so by throwing an exception to preserve
this invariant.
LPS-49255 Update tests to reflect the new behaviour
LPS-49255 SF
LPS-49238 - actions, functions, paths
LPS-49238 - macros
LPS-49238 - tests
LPS-49270 As a developer I need to be able to identify services registered through the registry API (i.e. by the portal)
LPS-49264 "The base properties file was not found" start up exception
LPS-49264 SF
LPS-49256
LPS-49257
LPS-49271 PortletTracker display category doesn't conform with "convention" used by other properties
LPS-49236 server shuts down with shutdown command
LPS-49247 Alias needed during import too
LPS-48745 We should update the group's versioning/staging related type setting only after the actual layout set branches created otherwise the advices try to fetch non-existent entities
LPS-49250 Convert CMISRepositoryHandler into a Capability so that it can be easily obtained from a Repository with no instanceof magic. This change will make portal more robust by allowing future changes in the implementation of repositories that won't lead to regression errors.
LPS-49250 Always return a copy of the set to avoid modify the static fields
LPS-49250 SF
LPS-49250 SF