Added proper support for objects passed to $.fn.data()

Fixes #1407
Merge branch 'master' of github.com:WoltLab/WCF