fix preg_replace preg_split with utf-8
Merge pull request #308 from DLive/master

Unicode support for CommentParser
Improving CONTENT_TYPE mime detection fix for PHP 5.4 webserver
Fixes Restler to correctly get the authentication class instance for WWW-Authenticate header. Fixes #299