Refactored most the code for flexibility and extendability. Made it possible to register values in the same cookies as the JS SDK uses, or utilize a different data storage method if needed.
Removed old CookieWriter.
Merge pull request #5 from rexxars/large-refactoring

Large refactoring