Thumbnail generation in separate thread added

Squashed commit of the following:

commit 8edb555ded45528b7a9a09ceda2945339e65f622
Author: Serge Poltavski <serge.poltavski@gmail.com>
Date:   Thu Aug 9 15:10:59 2012 +0400

    empty thumb image added

commit a4c9366bff3f6b0e38dad1ea1f66e1b15b9e87f9
Author: Serge Poltavski <serge.poltavski@gmail.com>
Date:   Thu Aug 9 14:26:12 2012 +0400

    Thumbnail generation in separate thread added

commit d21c27dfbc7acf74e6d334693bebbe70af61a1e8
Author: Serge Poltavski <serge.poltavski@gmail.com>
Date:   Tue Aug 7 15:30:18 2012 +0400

    Page QImage usage fixes

commit 9bb0916adb81bacaee55b6403a4a4418417fb683
Author: Serge Poltavski <serge.poltavski@gmail.com>
Date:   Tue Aug 7 15:15:10 2012 +0400

    Page moved to QImage usage instead of QPixmap

commit 92a54d28796d3426384a497c8b0ba1fcbcda2b73
Author: Serge Poltavski <serge.poltavski@gmail.com>
Date:   Tue Aug 7 14:59:22 2012 +0400

    ThumbnailGenerator added

commit d9922aa0b6de55d884fca303308fecebb1aaa759
Author: Serge Poltavski <serge.poltavski@gmail.com>
Date:   Tue Aug 7 03:05:39 2012 +0400

    cache fix in tests

commit 98f2ea5f7ee17d6c6f8b60d572d5e4bb47b7b555
Author: Serge Poltavski <serge.poltavski@gmail.com>
Date:   Tue Aug 7 03:03:23 2012 +0400

    mutex improvements

commit 3533179a8e02534342d9cca934f1b016d4458cfc
Author: Serge Poltavski <serge.poltavski@gmail.com>
Date:   Tue Aug 7 02:59:27 2012 +0400

    ImageCache made thread safe

commit 47cbacca7cc772996483ba4313a79370d3f9d1ce
Author: Serge Poltavski <serge.poltavski@gmail.com>
Date:   Tue Aug 7 02:27:21 2012 +0400

    load fixes

commit cda9409853f3707192a53069128f5b3b43a65b40
Author: Serge Poltavski <serge.poltavski@gmail.com>
Date:   Tue Aug 7 02:15:43 2012 +0400

    ImageCache load support added

commit c9a7628e06bb357f472140d84665186d0c3bc432
Author: Serge Poltavski <serge.poltavski@gmail.com>
Date:   Tue Aug 7 01:54:03 2012 +0400

    ImageCache initial QImage support
base support for viewing page binarization
PageBinarizator added for GUI
ImageView unused signals removed
binarizator fixes
russian i18n fix
Unused old code for spec project removed from PUMA
BBoxes map code refactoring

Squashed commit of the following:

commit 68340a9848b13f46a831b2cbe223f3dfb364cdba
Author: Serge Poltavski <serge.poltavski@gmail.com>
Date:   Tue Aug 21 18:53:01 2012 +0400

    bboxes and binarize fix

commit 282d073b2dd20779439b0c3999429d3b976c7f43
Author: Serge Poltavski <serge.poltavski@gmail.com>
Date:   Tue Aug 21 18:38:18 2012 +0400

    matrix and bboxes works

commit 3f0e4374417af1eaddfa5116f874ff686e14faaf
Author: Serge Poltavski <serge.poltavski@gmail.com>
Date:   Wed Aug 15 22:33:13 2012 +0400

    mask rect error fixed

commit 3df348d10cb537d335bb6e7e5897e21c4f026c97
Author: Serge Poltavski <serge.poltavski@gmail.com>
Date:   Wed Aug 15 18:02:53 2012 +0400

    change state fixing

commit b2ac8ad9d2cd83a9bf733b43a297c0922eadf3fe
Author: Serge Poltavski <serge.poltavski@gmail.com>
Date:   Fri Aug 10 16:04:45 2012 +0400

    page recognizer fixes

commit 5a144908540f9028a35da9a5eff6dcec950d05f2
Author: Serge Poltavski <serge.poltavski@gmail.com>
Date:   Fri Aug 10 15:51:24 2012 +0400

    Using QImage for data transmission to cuneiform backend

commit 6e993ab67e8b0aab60287dd0c0f62c350fee2810
Author: Serge Poltavski <serge.poltavski@gmail.com>
Date:   Fri Aug 10 15:10:26 2012 +0400

    Page recognizer type choose at runtime added

commit 02b1fc026ece19403f05815b056d715db8016172
Author: Serge Poltavski <serge.poltavski@gmail.com>
Date:   Fri Aug 10 14:39:17 2012 +0400

    scoped pointer used for thumb generator

commit f28de64af7b2106cd58a7b42a605308ef708ea96
Author: Serge Poltavski <serge.poltavski@gmail.com>
Date:   Fri Aug 10 13:58:50 2012 +0400

    using scoped pointer for binarized image
toQRect fix
Binarization settings added
bbox test update
MSVC link fix
definition split
Fixing block develop branch
unused function removed
lupdate option -locations added
ua i18n template update
user block wrong rotation fix
cursor orientation fix
non-existant slot connection fix