Package libqt5core5 replaced with libqt5core5a

libqt5core5 installs failed.
Package libqt5core5 has replaced with libqt5core5a in ubuntu and debian.
The website is:
http://packages.ubuntu.com/trusty/libqt5core5a
https://packages.debian.org/sid/libqt5core5a
Report script evaluation failures in log and reject messages
Remove coinbase-dependant transactions during reorg.

This still leaves transactions in mempool that are potentially
invalid if the maturity period has been reorged out of, but at
least they're not missing inputs entirely.
Remove txn which are invalidated by coinbase maturity during reorg
Make CTxMemPool::check more thourough by using CheckInputs
Make CTxMemPool::remove more effecient by avoiding recursion
New pull tester which adds a rather simple large-reorg test
RPC-test based on invalidateblock for mempool coinbase spends
Remove useless removed-tx tracking from mempool remove calls
Also mark double-spends as dirty when SyncTransaction'ing
Dont run big reorg test with DEBUG_LOCKORDER
Extend timeout further?
Log tester output to file instead of stdout