avocado: Move 'api' to 'core'

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>