Added metadata to Issue

We needed a field on Issue that could hold arbitrary data. To enable this, we added a metadata field. 
The change itself it rather simple