Added some consts to remove 'deprecated string to char*' warnings.
Merge pull request #29 from addtheice/master

consts on char*'s to remove the deprecation of const string to char* warning