Codegen tweaks

* use absolute path to None and Some
* use more `RustType` in codegen