Literals fix in component.router.php

Switched double-quote to single-quote where relevant.
Replaced str_replace with preg_replace in CPHPRouter class.