applyBindings: made the viewmodel optional

In order to use it for binding custom components, you can use appyBindings() without any arguments.
Merge pull request #3058 from FredrikBorgstrom/master

applyBindings: made the viewmodel optional