created skeleton of ags_sync.c
implemented remaining interceptors
... and the forgotten.
wrote some proto type definitions
added new files
moved ags_sync.[ch] to thread directory
BACKUP: thread synchronization will be moved to ags_sync.c
some fixes
finally got the right approach for the interceptor
implemented missing code