Set activation for legacy mode on front end

Activate legacy theme supprt when theme topytion is present and load
the leagcy.php.
Fixed parse errors and typos in deprecated.php and legacy.php