WICKET-4697 Autolinking not working as soon as component gets a wicket:id

(cherry picked from commit a595d838c41730da82cb7d3c698661add46fcd6a)
WICKET-5288 Allow <script>-Tags act as WebMarkUpContainer to add Child-Components

(cherry picked from commit 9d726ae2f33d3988aa3bb26521717234e0d41deb)