Export addFeatures

This needs discussion, but it's useful for now to be able to
have applications with programmatically created features.
Merge pull request #723 from ahocevar/add-features

Export addFeatures. r=@tschaub