Update viewmodel.js

Added support for setting configuration after Vue instance construction.
var vue = new Vue();
vue.init( config );