Issue:
refactor(common_utils): move `serde` implementations and date-time utils to `common_utils` crate

## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [ ] Bugfix
- [ ] New feature
- [ ] Enhancement
- [x] Refactoring
- [ ] Dependency updates

## Description
<!-- Describe your changes in detail -->
This PR moves custom `serde` implementations and date-time utils from the `router` crate to the `common_utils` crate.

### Additional Changes

- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables

<!-- 
Provide links to the files with corresponding changes.

Following are the paths where you can find config files:
1. `config`
2. `crates/router/src/configs`
3. `loadtest/config`
-->
N/A

## Motivation and Context
<!--
Why is this change required? What problem does it solve?
If it fixes an open issue, please link to the issue here.

If you don't have an issue, we'd recommend starting with one first so the PR
can focus on the implementation (unless its an obvious bug or documentation fix
that will have little conversation).
-->
This change unblocks splitting out API models to a separate crate.

## How did you test it?
<!--
Did you write an integration/unit/API test to verify the code changes?
Or did you test this change manually (provide relevant screenshots)?
-->
Created a payment via Postman after the refactor.

## Checklist
<!-- Put an `x` in the boxes that apply -->

- [x] I formatted the code `cargo +nightly fmt`
- [x] I addressed lints thrown by `cargo clippy`
- [x] I reviewed submitted code
- [ ] I added unit tests for my changes where possible
- [ ] I added a [CHANGELOG](/CHANGELOG.md) entry if applicable


Resolution:
<think>
PR Context:
- Title: refactor: raise appropriate errors instead of `ValidateError`
- Merged: 2022-12-06T07:04:07Z
- Files changed: 12 files
- Commits: 7 commits

Implementation approach:
## Type of Change
Refactoring

## Description
<!-- Describe your changes in detail -->
To describe briefly, this PR raises appropriate errors instead of `ValidateError` and removes `ValidateError` in favor of `ValidationError`. A better understanding of the changes involved in this PR can be obtained from the commit log.

<details>
<summary>Commit Log (click to expand):</summary>
<ul>
<li>fix(connectors): raise <code>ParsingError</code> or <code>ConnectorError</code> during transformat
</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** refactor: raise appropriate errors instead of `ValidateError` (#71)
Files to modify:


**crates/router/src/compatibility/stripe/errors.rs**
  Modify existing code

**crates/router/src/connector/checkout/transformers.rs**
  Modify existing code

**crates/router/src/connector/stripe/transformers.rs**
  Modify existing code

**crates/router/src/core/errors.rs**
  Modify existing code

**crates/router/src/core/errors/api_error_response.rs**
  Modify existing code

**crates/router/src/core/payments/helpers.rs**
  Modify existing code

**crates/router/src/core/payments/operations/payment_confirm.rs**
  Modify existing code

**crates/router/src/core/payments/operations/payment_start.rs**
  Modify existing code

**crates/router/src/core/payments/operations/payment_update.rs**
  Modify existing code

**crates/router/src/core/refunds.rs**
  Modify existing code

**crates/router/src/services/api.rs**
  Modify existing code

**crates/router/src/utils/ext_traits.rs**
  Modify existing code