Fix ENC script cache fetching when foreman is down
Add new ENC node.rb template for new Facts API

Also adds a couple of basic tests for the new ENC. we can expand this
over time.
Add report processor for new API and tests

Tests are ported from the original Report model tests in Foreman core,
but altered to reflect the fact that we only need to examine the JSON
that would be sent to Foreman