Fix bug in create fact response.
Stop facts being updated on nodes with children.
Merge pull request #460 from git-harry/sprint

Merged automatically by jenkins after successful gate test