[core] add midje testing infrastructure (works with both `lein midje'
and `gradlew :core:test')