Added theme_pager(), theme_pager_link(), theme_pager_next() and theme_pager_previous(). Changed theme() to try to use e.g. easystreet3_link() first, and then fall back to theme_link() second, and cleaned up the way it determines the available functions and default attributes.