Update viewmodel.js

Allow passing false to constructor to bypass compilation. Add vue.init( config) to defer setting configuration after construction has completed.
style fix for PR#344
Merge branch 'diverted247-patch-1' into dev