Adds infrastructure to unit tests for testing multiple regular expression scenarios.
Adds basic tests for serializing a regular expression created via constructor.
Initial modification of regular expression serialization to use RegExp constructor syntax.
Adds back support for modifiers in regular expressions.
Adds tests to assert that regular expressions containing /forward/slashes are correctly serialized.
Adds tests and logic cover serialization of regular expressions containing single and double quotes.

Signed-off-by: Kenneth Baltrinic <kenneth@baltrinic.com>
Adding an e2e test for regular expressions for good measure.
Incorporates William Carter's approach from pull request #7 as it is a bit cleaner.
Merge branch 'bugfix/issue-6' into develop
Fixes bug wherein date values on the context object were not being correctly serialized and adds covering tests for the same.
Adds e2e test for date serialization.
Fixes bug wherein non-primitive values (dates, functions and regular expressions) in arrays on the context object were not being correctly serialized and adds covering tests for the same.
Updates documentation to make clear the data types that are supported in the context object.
Merge branch 'bugfix/context-serialization' into develop
Bumping version to 1.4.0.
Merge branch 'develop' at v1.4.0.