Mark Hexa as deprecated

I've also changed its tests, setting an error handler that does
nothing.  Maybe we should check if E_USER_DEPRECATED is really
being triggered, but I'm not sure on how to do it.
Removed unnecessary check in AbstractCharGroup
Refactored AbstractCharGroup into AbstractRegexRule

It's now an actual abstract class.
Made OneOfTest use Xdigits instead of Hexa