change address to require http:// or https:// prefix - also refactored code
added specs to test leanback compatibility with cloudant DBAS service