Merge pull request #139 from afrjorge/core-refactor

[CDF-205] - CDF core-refactor
Replace date.js lib with patched version as per https://github.com/webdetails/cdf/pull/135
Merge pull request #141 from pedrofvteixeira/core-refactor

Replace date.js lib with patched version as per https://github.com/webde...
Merge branch 'core-refactor' of https://github.com/webdetails/cdf into core-refactor