assimp: use shared_ptr for scene
ofParameterGroup: fix nested parameter groups and memory leak, switch ofPtr to shared_ptr.
Closes #2674
ofThread: detach thread on stop if it's not being waited. Closes #2506