Init loader manager in main thread.

It may initialize static handlers as a side effect, which are supposed
to run in the main thread.

Change-Id: I0b92e5b9e9baa78fc453884c6898421220d7f9f7
JIRA:CYAN-704
Merge "Init loader manager in main thread." into cm-10.1