Add doc for autoregistering REST service and junit tests generation