1544 email activation url with uppercase letters

Fixed getApplicationUrl for uppercase directories
Added tests for uppercase installation directories