Add xTrace and xProfile support

This PR exposes the `xTrace` and `xProfile` functionality to Java allowing you to instrument the SQLite engine.

http://www.sqlite.org/c3ref/profile.html

My C is pretty rusty so I'd appreciate a close inspection of the C code.