extracts logo component from header

second step of the refactoring started with this pull request: https://github.com/discourse/discourse/pull/1587

logo_component_test.js and header_test.js contain almost the same tests right now, but as I wrote in previous pull request tests in header_test.js are only temporary and I'll remove them in the last step of the refactoring