After more than two years in an Iranian prison, Australian academic Kylie-Moore Gilbert has been freed and is on her way home.