ITS#8003 fix off-by-one in LDIF length

must account for leading space when counting total number of lines
ITS#8003
*** Peter-Service build script.

   On the origin/OPENLDAP_REL_ENG_2_4 at 2014-12-14.
Merge remote-tracking branch 'origin/mdb.master' at 2014-12-14.
master-minor: Use OpenSSL md5/sha1
master-minor: Updates for new servers
lmdb-extra: mdb_page_alloc() - Use last page (off-by-one error)

[...or is an unused page at the end a feature, to protect LMDB and
next mapped page from broken pointers that walked past the boundary?]
slapd-extra: ITS#7968 syncprov_matchops(), filter.
slapd-extra: mdb-backend error logging.
lmdb: more usefull info from mdb_stat tool.
lmdb: ITS#7974 get a lag of the reading for dreamcatcher.
lmdb: lock meta-pages in writemap-mode to avoid unordered write.

Without locking the meta-pages may be writen by OS before data pages,
in this case database would be inconsistent.
back-mdb: checkpoint-interval in seconds instead of minutes.
lmdb: auto-sync with kbytes threshold (aka checkpoint by kbytes).
back-mdb: support for "checkpoint kbytes" config-option.
lmdb: properly sync meta-pages in mdb_sync_env().

Meta-pages may be updated during data-syncing in mdb_sync_env(),
in this case database would be inconsistent.

Check-and-retry if lead txn-id changed during flushing data in mdb_sync_env().
slapd: ITS#7974 dreamcatcher feature.
lmdb: ITS#7974 oomkiller feature.
slapd: ITS#7974 oomkiller feature.
lmdb: MDB_LIFORECLAIM & MDB_COALESCE modes.

Reclaim FreeDB in LIFO order - this is a main feature.
Also aim to coalesce small FreeDFB records.