Bug 1050164 - Investigate to implement standalone shrinking library

https://bugzilla.mozilla.org/show_bug.cgi?id=1050164
Do these code come from a rebasing? Or you try to fix NFC manager while you're implementing the Shrinking UI library?