Sync with coverity_scan branch and fix typo in travis script.
Sync with coverity_scan branch and fix typo in travis script.

openastro/sml,astropnp/sml,Stardust2013/sml,astropnp/sml,ennehekma/sml,ennehekma/sml,kartikkumar/sml,Stardust2013/sml