Merge pull request #272 from ddobrev/master

Fixed wrong code generated for indexers in value types
Generated methods and variables of base classes of value types.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>