Merge pull request #218 from chrox/master

fix no "-shared" flag when building libcrypto.so
fix memory leak in freeContext
try catching error when adding markup annotation
add getCoverPageImageData api