Update server.go

i just run the project under go 1.3 and the newest martini package, and got some error ,so i fixed.