removed useless include of dirent.h
Merge pull request #12 from jvermillard/fix-dirent

removed useless include of dirent.h
API: add a new API for servers to be informed of clients' registrations and deregistrations.
Merge branch 'master' of https://github.com/01org/liblwm2m
Cleaned up error codes and buffer_send callback naming