Fixed bug where only the first API group was set on functions.
Better handling of API group for properties and methods.
Fixed extension methods to correctly get all API groups.
Merge branch 'pr/n4_tomspilman'