Fixed #630 by adding a PolymerSoup class which allows template tag nesti...

This patch fixes issue #630 (Selecting multiple objects doesn't open analysis) which was caused by the parser (Beautiful Soup) not knowing that the <template> tag can be nested.