James Morrison has been appointed permanent head coach of West Bromwich Albion after guiding the club to Championship safety.