Allow string extensions to be provided to RouteBuilder::extensions()

This makes the method easier to use when there is only one extension and
mirrors Router::parseExtensions.

Refs cakephp/docs#1610