Fix @is_current to work on index page.

@is_current currently doesn't work when the index page is included in the $root loop to produce site navigation.

I've replaced the simple check for the permalink to == 'index' with a preg_replace with matches either '?/index/' (without htaccees), or just 'index/' (with htaccess).

Cheers,
Jack