Query DSL: Terms filter to allow for terms lookup from another document
closes #2674