update to adaptivetheme 7.x-3.1 and some html validation fixes