beego: controller add ServeFormatted

ServeFormatted serve Xml OR Json, depending on the value of the Accept
header