Refactor metrics gathering for local package builds

This commit adds a few additional data points to be gathered
by local package builds, as well as modifying the existing
metrics task to post data to an HTTP listener rather than
storing it directly in a database