Add oninit reference

Hello @masayuki0812,

I hope to help update the documentation as I work through the different features in c3. This pull requests adds documentation for the `oninit` method.

Thanks!
Kenny