Ported P2 fix for Mercury API from release-252

Merge pull request #5443 from Wikia/HG-385
HG-385 P2 fix: added InvalidDataApiException to autloader and added fallback to navigation exception