Issue 569 flask babel

Update to latest flask-babel version and fix minor issues in the testing phase (user IP is 127.0.0.1 and acquiring the location returned a None object, causing the lib to fail).