revert ko.toJS behavior back to copying functions
fixes #1079
Merge pull request #1079 from knockout/1079-revert-ko.toJS-behavior

Backwards compatibility of 3.0.0beta with ko.toJSON