[BB10-internal] Add a method that allows registration of files to types

There is currently no way in C++ to duplicate the functionality of a qmldir
file in mapping QML files to versioned types in a module. This functionality
would be useful both in cases where a separate qmldir file would be overkill,
and for cases where the type mapping should be generated dynamically.

Since public API is frozen for 4.8, this is being added as private API
for those who need some measure of compatibility with qtquick1 in Qt5.

Change-Id: I28d7898122c5556fcd7cf3476795bcf4bb288ea6
Manual cherry pick of qtquick1/9995a2910d8a5f0317fe3adeb54f838b99ab31a8

Signed-off-by: Peter Hartmann <phartmann@rim.com>
[BB10-internal] QNetworkAccessManager: return default configuration if without session

... instead of a zero configuration. That is documented already for
QNetworkAccessManager::setConfiguration().

Task-number: QTBUG-28973
(cherry picked from commit 1df2b9ee2376e132a6bf9596097351f0c79e6b73)

Change-Id: I074265525485b63adecad90f16fd4e2acf6d7b16
Signed-off-by: Peter Hartmann <phartmann@rim.com>
[BB10-internal] Revert "Remove QPerformanceTimer now that QElapsedTimer contains the necessary bits"

This reverts commit 88966515993773e4d7d6276bce6fccfcc13ab6f4.

This apparently caused regressions in Cascades.

Change-Id: I8b4290ab9412fd779e1c5ed7752539f241ce90a5
Signed-off-by: Peter Hartmann <phartmann@rim.com>
[BB10-internal] QSslConfiguration: toggle on demand loading of root certs properly

make sure we keep track of when we can load root certs and when we
cannot (we cannot when the developer set the certs explicitly). This is
implemented the same way for QSslSocket already, and needs to be
duplicated because we have 2 methods for setting CA certificates: one in
QSslSocket and one in QSslConfiguration.
In addition, adapt the auto test which checks whether setting a default
QSslConfiguration works: There is no way to set on demand loading
through the API, so it should be enabled by default.

Task-number: QTBUG-29103
(backport of commit ce35c0db0d9dd849c736eabaeb57d597186aaa13)

Change-Id: Idf15c21092c7727e1080b1c261ce055f30dbcf63
Signed-off-by: Peter Hartmann <phartmann@rim.com>
[BB10-internal] BB10 systemProxyForQuery: query system proxy also for non-URL requests

... like e.g. in QAbstractSocket::connectToHost().
We can set the scheme on the query URL based on well-known ports; even
if the port is not well-known, we can just query the URL anyhow and let
the netstatus API resolve the right proxy for us.

In addition, return early for local schemes like "file" and "qrc".

Task-number: QTBUG-29425
(cherry picked from commit 28d526db74c50977215133159e565e7c15fd18e3)

Change-Id: I40a4865aa7765aad9145e956c0069e78c54670e7
Signed-off-by: Peter Hartmann <phartmann@rim.com>