Add a function for getting quarter information.
Allow properly-formatted character dates in get_quarter.

This is how tryCatch is supposed to work anyway, I think.