Kt 4612

Properly implement KDoc compiler support, added basic integration test.