Added wire_func_t::cached_func, caching the func_t.
Made wire_func_t counted_t<func_t> constructor more efficient.