Added leftZeroFill to GGGG and gggg formats

Added leftZeroFill to GGGG and gggg formats (similar to how YYYY and other year formats do). Expanded testing for these cases; and in the process added testing for W and fixed a typo in some existing tests.