Merge posix/win schedulars into one, add docs

POSIX and Windows schedulers were very different prior to this change, but
now they're very similar. Code has been refactored into a single schedular
so that maintenance is easier.

Added doxygen documentation to the scheduler.h and scheduler.c files.
Remove reference to scheduler.o from makefile