"import" support in data plugin

This implements basic "import" support directly in the data plugin, and uses this later in the DNS code.