Reads from the Accept-Language HTTP header. Also fixed some encoding for ES translations. Fixes #375
Fixed PHP formatting error in ES lang file and added tests to cover. Made user edit page more responsive on smaller devices. Fixed 'cancel' button on profile screen when the user does not have permission to manage users.