restructure on commongates to remove xacc.hpp inclusion, fix gate clone to clone buffernames

Signed-off-by: Alex McCaskey <mccaskeyaj@ornl.gov>
1 job for master in 22 minutes and 55 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Build
passed docker build_master #609054

00:22:55