League One-bound Mansfield Town sign Australia midfielder Keanu Baccus from Scottish Premiership side St Mirren.