added promises fucntionallity to the code
Merge branch 'pedro' of http://github.com/rulesware/poc_mapping into pedro

Conflicts:
	node_modules/json-mapper/package.json
	pdc.js