Added check for mbstring extension.
Merge pull request #10 from Aaron3/master

Add check for mbstring extension. (A little cleanup needed.)