Added javadoc generation in doc project. Will be moved when we get a stable gradle build for main project.