[cs] Null cast to Bool is false, not runtime error. Closes #2725
[java] normalize capitalization for java-lib packages / names. Closes #2213
[cs] filter out compatible Ref<> / Out<> fields. Closes #2711