Made code compatible with Closure Compiler

https://developers.google.com/closure/compiler/
Move all format parsing into DPGlobal methods
Merge pull request #472 from invisibleroads/patch-1

Made code compatible with Closure Compiler
Fix bug with events format method

Fixes #487
Trigger input change and element changeDate events for clear button

Fixes #486, #488
Merge hotfix 1.1.2 into master
Begin release 1.1.2
Update changelog
Update component.js version
Added tag 1.1.2 for changeset e37ab4f7d0d3