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
fix npm warnings

Jira-issue: WP-1100
Merge pull request #1 from aldafu/module-merge-fixes

Module merge fixes