applyBindings: made the viewmodel optional

In order to use it for binding custom components, you can use appyBindings() without any arguments.