Representations and invariants of links in lens spaces