issue,posting: Fix NotNull constraint violation.

For lastIssueNumber and lastPostingNumber,
* Use primitive type 'long' in order to set them to zero by default
* Set their visibility from public to private in order to prevent to
  update them by mistake