Fix parsing of generics.

Generics need a slightly different parameter list as they don't end
in a semicolon and they shouldn't support #next.

Fixes issue #70.
Bump to 0.5 and add release note for generic fix.