Implement CTF-IR stream class getters

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Tests: Add stream class getter tests

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>