Fixed issue #449 (Resources remain available even in maintenance mode).

Fixed issue #449: common/maintenance is called before common/seo_url to check if the site is in maintenance mode.