migrate scandir and alphasort from tuxmath to t4k_common
completed by: Aviral Dasgupta
mentors: David Bruce
Tuxmath uses autoconf to test for the presence of scandir and alphasort. If they are not provided by the platform, platform-specific replacements found in scandir.c/h are compiled and used.
This task is to move this code into t4k_common.