Move key factory registration into SoftKeymasterDevice.

So we can do it differently in the keymaster0 adapter.

Cherry-picked from internal.

Bug: 20912868
Change-Id: Icfcc96ba10c5fdcb5617987b01b643c8c2c14086
9 files changed