Don't create a tree unless tree fields are edited

Only send up plot and tree JSON when saving plots, and don't send up tree
JSON unless the plot has a tree or tree fields were edited.

Fixes #164
err, `sanitize`