Added custom entities support to completeness calculator

Bug fix: [yes]
Feature addition: [yes]
Backwards compatibility break: [yes]
Unit test passes: [yes|no]
Behat scenarios passes: [?]
Checkstyle issues: [no]*
ChangeLog updated: [no]
Documentation PR: []
Fixes the following jira:
PIM-1456