Fix AutoloadPlugins

Replace TakeWhile with Where to return all plugins for which onload="true".

Fixes https://issues.apache.org/jira/browse/CB-7858.
CB-7892 XHR to local files poly should only load/run once
CB-8139 WP8. Fix callback for plugins with native ui (capture, contactPicker, BarcodeScanner, other)

Unload event could not be used to detect when CordovaView is not used anymore. For example, this event is triggered when we execute command that shows some native elements on new page and then we return back. In this case Unloaded event is called but, but control state is preserved and we should continue to use that Cordova view instance.

This commit changes the following:
1. Allows command instances to be garbage collected => fixes corresponding memory leak so that NativeExecution is no more required to call DetachHandlers for each command. This fixes  CB-8139.
2. Use Loaded and Unloaded events to add/remove handlers for native events; this makes it possible for GC to destroy CordovaView when it is not required anymore
remove debug trace
remove destructor trace
Update JS snapshot to version 3.7.1 (via coho)
Set VERSION to 3.7.1 (via coho)