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

Merged automatically by jenkins after successful gate test