Striker Kenny Miller has signed for Rangers for the third time, penning a one-year deal with an option for a further 12 months.