update rails to 4.1.7, gems, fix found bugs so far