Improve granularity of control over EXPORT

This adds EXPORT_APPEND, EXPORT_CONTENT, and NO_EXPORT