Remove View.replaceWith()

The current implementation is a bit dangerous because it doesn't check whether
the replacing view is still registered to another parent. One can easily get into the
situation where a view is registered in two parents therefore.
Since there's no usage for this method I suggest to remove it.
Merge pull request #1144 from njam/issue-1144

Remove View.replaceWith()