Move response and query to core [#72349958]

![](http://mlkshk.com/r/MEQ4)
- Moves the query and response modules to the 'core' package as they're used by other modules in core.
- Quick tidy up use of `self.name` instead of `self.config.name` in core/data-set as it's set as a `@property`