deposit: doi syntax validator improvements

NOTE the name of the validator was changed to DOISyntax validator
because of convertion to a class. 

@lnielsen-cern I think you use it, so you need to adapt the code.
Ok, it's good to know for future. I don't write much in python recently, so I tend to forget such tricks. But the present stand is acceptable too, I guess?