[TIDOC-1487] Implement APIs to create Native Windows Phone components
[TIDOC-1487] remove parse call
[TIDOC-1487] Call Finalize as part of destroy
[TIDOC-1487] Refactor and reformat code
Merge pull request #5361 from bhatfield/tidoc-1487

[TIDOC-1487] Implement APIs to create Native Windows Phone components