added demo rest api for adding and withdrawing intents in a mesh

Change-Id: Ic68a9054c8a1a3d4223e75845f78205d8703ae56
8 files changed