Added getdirentries(2) to tiny_runtime.
Arranged the Makefile to follow style.Makefile(9).
Added the tool to test getdirentries(2).
Added the test for getdirentries(2).
Implemented getdirentires(2) only for the master side.