Fixed issue with concurrency in YAJLDom interface

Moved the Parser to a separate object instead of using global variables