Add modules, chfsm (hierarchical state machine library in C), pt (Protothreads), rtclib (Gregorian Calendar).

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>