Payload params

This is a basic way to provide payload data as parameters to the build. In this case the repository_id is added to the build. Comes together with a couple of tests.
I'd still like to keep memoize, see http://en.wikipedia.org/wiki/Memoization.