Cleaned up extintr project
Renamed ext proejct
Retabbed event/main.c
Cleaned up event project
Retabbed most projects
Cleaned and refactored most projects

Mainly cleaning up makefiles and halconf, replacing copy/paste
with functionality from common/