Add failure flags handling to BlockStatus
Summary: as per title.
Test Plan:
make check ./test/functional/test_runner.py --extended
Reviewers: #bitcoin_abc, schancel
Reviewed By: #bitcoin_abc, schancel
Subscribers: teamcity
Differential Revision: https://reviews.bitcoinabc.org/D1458