Set error message. Refs gh-106
Added TSRMLS_CC. Refs gh-108
Merge pull request #109 from piotras/ratatoskr

Minor updates