Modified default policy to allow third party APIs

Jira-issue: WP-946
Added jasmine tests about third party APIs

Jira-issue: WP-946
Fixed jasmine tests

Jira-issue: WP-946
Merge pull request #3 from ccameroni/WP-946-allow-3rd-party-apis

WP-946 allow 3rd party apis