1063825 spicedham backend

* integrates spicedham into fjord
* writes all the backend bits that fjord needs to use spicedham
* adds training command (which is actually bug #1062444)
* adds documentation for maintaining training data
* adds some really mediocre tests that, while mediocre, do verify that things are working at least at a basic level

r?