Preg_replace /e modifier is deprecated in PHP 5.5

Found and changed 3 preg_replace with /e modifier with preg_replace_callback.
Merge pull request #9 from Parziphal/patch-1

Preg_replace /e modifier is deprecated in PHP 5.5