DAR-2508 shifting dates to max or min level if it exceeds range
Revert "DAR-2508 shifting dates to max or min level if it exceeds range"

This reverts commit b27870d2708972c26b7af6ad45b85fed89cc2139.
DAR-2508 Changing deprecated martstatsdb to statsdb due to tables move
DAR-2508 Changing fatal error to just log entry
DAR-2508 replacing other usages of datamartdb
DAR-2508 catching OutOfRangeApiException to prevent throwing fatal error and puting to logs
Merge pull request #1934 from Wikia/DAR-2508-wam-api-fatal-err

DAR-2508 proper handling of API exception