Pull the common (error and config) parts from ottery.h into ottery_common.h