Structural refactoring for Chrome Support. Started to work on Chrome plugin

Jonas, i was implemented shared template and handler for copy button. May I merge it to current pull request?