Add OS API 'scan' method

OS API 'scan' method implemented

Implemented blueprint: os-restful-api-scan
Change-Id: Ia57bd5f59040ef31936abe4433fa200c2ecc3623