Inital version of url validation method
Inital version of url validation method

Change-Id: Ia8d3ef9d7fba871fcb03ee642fd2d802d7667dcf

trejder/phonegap-kode-reader,phonegapdemos/kode-reader,trejder/phonegap-kode-reader,phonegapdemos/kode-reader