Added profiler
Fixed test problems
o Added QueryState to Expression.apply
o Added Profiler implementation
o Moved index queries to QueryContext