Making the method Utils.toText() accept objects 

Led from issue https://github.com/yyx990803/vue/issues/83