Fix off-by-one error with timestamps

- Date constructor expects month to be 0-based
- Updated YAML-spec
- Added compatibility for latest YAML-spec with JS-specific specs