[scala] Add shortcut methods in ScalaMarkupContainer and use them in the samples project