Move serialization to the model
- debug.
Basic model for pipelines and log_entries.
REST read API for pipelines and log_entries.
Fix up more of the pipelines code.
Data import logic; background processing framework.