code-completion and introspecition

Based on the excellent ocp-index library.

Back to lots of compiler warnings from compiler-libs (brought in by
ocp-index).

Can't wait to see .cmt files for the compiler standard library!