Fix unit tests with angular-translate, add more unit tests on messages
Modify config and make ressources depend on scheme, host and port