Fix get build

Fix return type for get build so the reflection to encode/decode works.
Merge pull request #20 from ncdc/build-poc

Fix get build
Add API endpoint for buildconfig