Add DetachCurrentContext
Fix typo on enum
Doc update
Merge pull request #23 from tapir/master

Fixes #22