cgen: Support basic inheritance
Add inheritance test cases
cgen: Refactor class info generation
cgen: Add inheritance test cases
Fix inherited __init__ in C back end

Closes #48.