Supports CORS.
Uses methods to check cache.
Corrects params cache.
Corrects tests.
Merge pull request #391 from LearningLocker/issue/371

Supports CORS.
Merge pull request #393 from LearningLocker/develop

Adds support for CORS