Validations on sequential_id

Changed callback from before_save to before_validations to allow validations on generated sequential id. For example:
  validates :sequential_id, presence: true
  validates :sequential_id, uniqueness: { scope: :project }

Unit test included.