Merge from Artifex branch
Fixed a memory corruption when deleting tags
Fixed context guessing
Fix for endianess detection
First attempt to pthread integration
Fixed portability issue
Added pthread dependency, and multithreading support
Track pthread dependency on change log
Fixing distribution