* Update HTTP status codes * Catch JSON parsing errors.
* `use` is never relative - absolute is always used so backslash is not needed * Move process_legacy_payment code to rest api class * Move storeapi directory * Updated namespaces and moved tests