Add failing test case for returning unique_ptr with embind.

A unique_ptr returned to javascript will call the destructor immediately.
Calling .delete() on the returned object from javascript calls the destructor a second time.
Return unique_ptr by releasing the raw pointer and returning that instead.
Merge pull request #2979 from pvandertak/embind_unique_ptr_fix

Embind unique ptr fix