feature #907 sprint5 :
Change the signature and the implementation of getMostCommentedPublications(final String resourceType, final List<? extends WAPrimaryKey> pks):
- any list of WAPrimaryKey subtype can be passed now,
- the implementation fetches the publication info directly from the database and takes into account the id or the instanceId in the list of pks can be null.
For exemple, if only the instanceId is set in the pks, then all publication info are seek for this component instance id, ordered by their comments count.