Merge pull request #8 from prasannatsm/static_analysis_fixes

Fixed issues reported by clang static analyser.
Merge branch 'master' of https://github.com/tshrinivasan/dhvani-tts
Initial cmake build support. Not complete yet.