restapi: Base external provider resource

This patch adds the base interface that will be used by all external
provider resources.

Change-Id: I733b790dfb07cb90131b82c72387e716ba1ddbc2
Related-To: https://bugzilla.redhat.com/1132259
Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com>