Create base class for AGI functions

We'll be creating a FastAGI client soon(tm) so we need to break out some
of the base functions into another class

Change-Id: Ie36d1a1d0effb88ce9d88150e1c7309a387a55bd
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Migrate to pbr

Change-Id: Id6020dc8d6cf081c87cd5b4211f82abd6f3a1668
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>