Add timer functions to check for action_time.

 Changes to be committed:
	modified:   main/debug.h
	modified:   main/main.c
	modified:   main/pid.c
	modified:   main/timer.c
	modified:   main/timer.h
	modified:   main/types.h

 Changes not staged for commit:
	modified:   .gitignore