Adding existence check for phone

The Windows and Windows Phone versions of WinJS have different control
sets, because of this we check for the existence of a given control
before creating the directive to have the right directives on the right
platforms.
Merge pull request #26 from spankyj/master

Adding existence check for phone