following changes has been done,

1) improvised logging functions
2) improvised file-open. Previously most of the functions don't
   care about not existing files (database files). I got segfault
   when I first run 'src/dhvani' without any inputs.
following changes done.

1) fixed '-O2' issue which optimized even when we try to set
   '-g -O0' in WITH_DEBUG variable in Makefile.am.

NOTE:
	The machanism this project includes headers is wrong. most
	of the sources compiles without knowing the signature of
	the global symbol which it uses.
Merge pull request #4 from mohan43u/master

improvised debugging