JSON logging

Replace default Rails logging with JSON format (LogStasher gem).

Introduce controller hooks to log changes to facts (create, update, destroy) to a JSON file.

The scope of this work has not included the collection of files for feeding into Kibana.