changed method name to assertInstalled
added @throws to all methods that can throw an exception (in some cases the exception comes from deeper in the object)
cleaned up delayed query code
query cache no longer a global