pybabel fixes

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
Merge pull request #132 from adrianp/poo

pybabel fixes