Optionally use civetweb instead of apache

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Don't run apache functions if not using apache

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>