TMF: Add an API to query analyses to obtain their requirements

Change-Id: I764291e0ca5281550a16d61a9aa8dbf5ca05d390
Signed-off-by: Mathieu Rail <contact@mathieurail.com>
Signed-off-by: Guilliano Molaire <guilliamo-jaime.molaire@polymtl.ca>
TMF: Add an interface for strings regarding a session configuration

Creation of the lttng2.core.session package with the strings that will be used
for session configuration generation. We also externalized the bundle for the
kernel and ust plugin.

Change-Id: If51a4805064ed701a2bbf31a7f327406410f71a6
Signed-off-by: Guilliano Molaire <guilliamo-jaime.molaire@polymtl.ca>
TMF: Possibility to generate a session configuration from a ISessionInfo

With this feature we are able to generate a XML session configuration which
can be used to recreate a trace session on the target side.

Change-Id: I9786f322842b5166376f67d522907fa6bdc84edb
Signed-off-by: Guilliano Molaire <guilliamo-jaime.molaire@polymtl.ca>
TMF: Implementation of UstMemoryAnalysisModule requirements

The events needed by the analysis are added as requirements. We also add the
information that the libc with probes should be loaded prior to start the trace
session. The lttng2.core bundle is imported to make use of the session
configuration strings.

Change-Id: Idcfb13d7ae43bb73f6631c12f4eeb52fe74976d5
Signed-off-by: Guilliano Molaire <guilliamo-jaime.molaire@polymtl.ca>