Adds support for term-based event searches

Fix #87