DP-1860: Fixed finding component list file

Signed-off-by: Joanna Rozestwinska <joanna.rozestwinska@intel.com>
Components: Fixed dataDirectory variable definition

Signed-off-by: Joanna Rozestwinska <joanna.rozestwinska@intel.com>
Saving compoinent returned by API.


Signed-off-by: Joanna Rozestwinska <joanna.rozestwinska@intel.com>
Fixed unit test to mock register component response data properly

Signed-off-by: Joanna Rozestwinska <joanna.rozestwinska@intel.com>
Save componend actually registered
Set loglevel
Set loglevel
updated version number in package.json
updated version to 1.5.0 so it would be larger than the last npm verison used
Changed default connector back to rest

Signed-off-by: Joanna Rozestwinska <joanna.rozestwinska@intel.com>
Merge remote-tracking branch 'upstream/master' into dprelease

Signed-off-by: PradeepX Chenthati <pradeepx.chenthati@intel.com>

Conflicts:
	admin/components.js