Moved the charmbrowser view rendering smarts into the charmbrowser view out of the browser.js
added the tests for moving the charmbrowser view renderer