They don't cure unhappiness but they do raise your Pokemon's happiness to you by a bit because you used an item on it.
Ok, so Gen 6 mechanics are not known exactly however if we assume them to be similar to Gen 5 mechanics then using any item on a Pokemon does not raise it's happiness. This means that your Pokemon gets -1 happiness, and using a revive will not increase it.
Keep in mind that this is for Gen 5 so Gen 6 may be different.
Source: Bulbapedia