Testing for DOCS-3: Add single-sourcing for code citations in Javadoc, core doc

https://bugster.forgerock.org/jira/browse/DOCS-3