[bitshares/bitshares-core] Fix issue #125: sign block with old key if signing key updated in same block (#1203)

@abitmore pushed 3 commits.

2563f4b Added skip_flags to create_witness test fixture
53fc4be Build common sources first in tests/CMakeList
449745f Added tests for witness_create_op and key cache