Add error.{cc,h}, synciga_parserarg.cc and synciga_thread.cc