[components] Some view implementations returned Element instead of string, added defensive declarations to Controller's buildDOM method when building its DOM.
Merge pull request #177 from mefallit/master