TIMOB-16166-Detach the view from the existing parent before adding

Make sure that the view is not attached to an existing parent before adding.
https://jira.appcelerator.org/browse/TIMOB-16166