added extra persist() to save changes made in Application.postPersist(), added isMashup() check
Merge pull request #111 from flamingo-geocms/bug/104-copied-component-configs-not-saved

added extra persist() to save changes made in Application.postPersist(), fixes #104