Add a "Has" function to allow quick queries for the existence of a type

This is the current way to determine whether the current context contains some type:
    Autowired<T>().IsAutowired();

This way is now supported:
    AutoCurrentContext()->Has<T>();