added flag query in interrupt function, swtimers.h

test are complete, sw timers are completele functional
adc and uart these version are only prototipes

fisrt version for XC8 compiler