Add embed code generation feature

Can generate embed iframe tag code for a public or private document
Add integration tests
Fix bugs
Run integration tests when running the build