(bug 37692) Enforce one-based page numbers

ImageMagick identify >= 6.6.8-10 returns zero-based page numbers, which
breaks this extension and leads to an error "The uploaded file contains
errors: inconsistent page numbering in TIFF directory".

This change maps the page numbers as returned by identify to a one-based
sequence.

Change-Id: I25052af7adb6f116c3f6a06652b5c0ce92c9d3a5
Localisation updates from http://translatewiki.net.

Change-Id: Ib9d95bafab90fc88b0ba3e8924cc89eaad4337a9
Localisation updates from http://translatewiki.net.

Change-Id: I5206dd47a73617610bdc828f180f45a6c3c93211
Localisation updates from http://translatewiki.net.

Change-Id: I841d48f04d7098b66e199c918755d7b156ebddcf
Localisation updates from http://translatewiki.net.

Change-Id: I600781cf07da2ce9e1a8a85942a83632367bf184
Localisation updates from http://translatewiki.net.

Change-Id: Ia9ae15c90db4a094536abf400993d6337bb68d6c
Merge "(bug 37692) Enforce one-based page numbers"
Localisation updates from http://translatewiki.net.

Change-Id: Idad069b6f2020c7b3cc8ab1232fcc51a2b10f6b4
Localisation updates from http://translatewiki.net.

Change-Id: I3e07221ef8b1fea32ee49840f7038a4104ab93c5
Localisation updates from http://translatewiki.net.

Change-Id: I730b4263a3fc922b439e9c99ce207b05bb00494f
Localisation updates from http://translatewiki.net.

Change-Id: I3028604d1284181f656af877ef38f5e9565c937b
Localisation updates from http://translatewiki.net.

Change-Id: Ia38f543dcc45fefaed0d6139eb8e33fc449b924e
Localisation updates from http://translatewiki.net.

Change-Id: Icfc55910a114d785dbc075a14a519819c4190156
Localisation updates from http://translatewiki.net.

Change-Id: I15348e21e4871857956070754263f30473cd1670
Localisation updates from http://translatewiki.net.

Change-Id: I4d101a94653158853eba256e06929ff56692d92e
Localisation updates from http://translatewiki.net.

Change-Id: Id5a8b5d1254089b51697702fb66e51a6e83ee6f2
Localisation updates from http://translatewiki.net.

Change-Id: I0fd299790d0e88779848a07774825e2123942bf0