Add getdetails(), changed end to actually call.
Merge branch 'master' of https://github.com/matforest/tesseract