quarter can return year+quarter. Minor documentation fix.

Not exactly sure if this is the right format, but added the argument `with_year` to `quarter`. 

If `with_year = TRUE` then `quarter will return not only the quarter but also the year. 

I also made a minor documentation fix for the examples.