add extlinks method

Like categories, links and images methods, templates method returns an array of external links from the given page.