Fixed bug in QueryResolutionEngine where Result.indexOf(pattern.toString())
was being used despite recent changes that changed this method signature
Fixed a bug in ConstraintSolver where relatedPropertiesMap.get()
would result in a NullPointerException.
    This occurs when there are no higher level definitions. With regard
    to relatedPropertiesMap, resolveDefinitionDependencies() ignored
    the RANDOM definition type resulting in no entry for the Tile level