Add additional fields to build schema (issue #1).
Change data properties in schema to unix time number (issue #2).
Fix wrong field name in query: trigger instead triggerKey (issue #3).
Remove unused method and make getPendingBuild query atomic and concurrent-safe.