TagResource use long for id, some corrections, LAPPS-79
Revert "TagResource use long for id, some corrections, LAPPS-79"

This reverts commit fc96f6fc7746dac97337c1772ef19fd6d848cbe7.