Improved user populating system

Converted the (formerly iterative) automatic user populating system into
a batch processed model making it much faster.
This patch affects the unit testing module and the data populating
module.

Signed-off-by: ppsreejith
Merge branch 'master' into github

This merge improves the user populating system which in turn is used by
various other modules.

Merged-by: ppsreejith