added getter and tests for primary tag on post model

@commuterjoy