Get build metadata

This is bug https://github.com/salimfadhley/jenkinsapi/issues/283

Added tests and all existing tests are passing.