Fix code review comments
  - Rename `sparkjob` -> `sparkapp`
  - Include protobuf dependency into xd lib
  - Fix comments from the PR