While coffee grounds can be very beneficial in the compost pile, there's an important caveat you should know before you throw them straight in.