function CMS_Shortcuts_GetTermBySlugOr404($slug)
{
    $q = new Pluf_SQL('slug=%s', array(
        $slug
    ));