Clean up MimeMagic singleton handling

bug: 56915
Change-Id: Ic8ed63816281be21cbcbe7d925a063d0d984c99e
Merge "Clean up MimeMagic singleton handling"