Fix extra statement in qes_config.h.in

Remove ALIGNED_ALLOC_FOUND
Add initial version of qes_error.[ch]

Initial error handling functions