MOB-1725 Fix account info validation rules and add unit tests
MOB-1725 Check if server already exists based on name, url and username. Use same rule for username validation than on exo cloud. Refactor AppPrefManager and move the server name extraction method to AccountInfoUtils. Update and add some unit tests.