typeof fix

Fixes passing an array or date to ko.track. I'm not 100% sure if they check should also be applied to the getObservable function.