Remove allTypes map from discovery

It's not needed since only webinos modules can register a constructor as
_registerServiceConstructor is not public. This makes it easier for adhoc
APIs to register under a new API type.

Jira-issue: WP-1045
Clear discovery timer on SecurityError

Fixes throwing AbortError when the timeout hits, even though SecurityError
was already thrown.

Jira-issue: WP-1053
add some service discovery tests

Jira-issue: WP-1119
Merge pull request #28 from aldafu/WP-1024-missing-servicedisco-commits

Wp 1024 missing servicedisco commits