query manager for improved queries within durandaljs