Fix build under ruby 2.0.0

Strangely in 2.0.0 `project.builds.get("1")` do not work anymore but `projects.builds.get(1)` still do.
So as a workaround I just cast the parameter from sinatra, but it may be a DataMapper issue.

Fixes #238