Start cleaning Anorm deprecated

Start cleaning deprecated function in Anorm.
I've done the backport SqlQuery with BatchSql in #3087.