Merge pull request #25 from bonifaido/master

some redundancy removed from bytecode generator methods
Add unit test for #22
Update notes wrt #22
afterburner now can serialize interface types as well, fixes #23