CORE-4811: when copying an app, don't let the new app name exceed its length limit
CORE-4811: fixed a bunch of javadoc errors
CORE-4811: fixed a bunch more javadoc errors