preg_replace(): The /e modifier is deprecated in PHP5.5

should fix #312

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Merge pull request #406 from echampet/preg_replace

preg_replace(): The /e modifier is deprecated in PHP5.5