Implement #1824 "Service API to duplicate a form"

- new service
- Summary page calls service
- minor clean-up and refactoring
- move persistence submissions which are only called from FR Scala code