Merge "Allow IME to register callbacks with negative priorities." into tm-qpr-dev