Implement CTF-IR field types getters
Tests: Add event types getter tests

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