Fixup read_file implementation.
Make make test actually fail the build.

Also improve the existing read_file tests.
Fix one clang compile warning.
Include LPC optimize routine in test.
Fix a valgrind complain in posix_timer.c
Merge pull request #50 from sunyc/master

Fixup read_file implementation.