Malala Yousafzai, the Pakistani girl shot by the Taliban in 2012, has been awarded the 2014 Nobel Peace Prize.