Add unit tests for example syntax

Tests api/examples, examples, and any embedded json in readme.
It's not required, because the apiserver can figure it out from the place you're posting it. However, I think it would be neat and tidy if we did require it. Would make it much easier to write a utility that sucked up a directory of .json files and sent them off to the right places in the right order to start up all your things.