API broke for grape updates to 0.2.3

Created by: yangchenyun

https://github.com/intridea/grape/pull/285

for version grape v0.2.3, error_format is removed but it still remains in the lib/api.rb

https://github.com/yangchenyun/gitlabhq/blob/deploy/lib/api.rb#L12