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
Merge pull request #12 from aldafu/WP-1045-WP-1053-fixes

Don't throw AbortError after SecurityError
add some service discovery tests

Jira-issue: WP-1119
Merge pull request #13 from aldafu/WP-1119-add-disco-tests-back

add some service discovery tests
Merge remote-tracking branch 'upstream/master' into dashboard